-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in v1.0.9 #25
Comments
I guess from the stack trace the provider only should be marked as exported. |
Also there is an error when trying to install 2 apps both using the file picker. 1st app is installed correctly but when trying to install the second one says: The application could not be installed: INSTALL_FAILED_CONFLICTING_PROVIDER Installation failed due to: 'Error code: 'INSTALL_FAILED_CONFLICTING_PROVIDER', message='INSTALL_FAILED_CONFLICTING_PROVIDER: Scanning Failed.: Can't install because provider name com.atwa.filepicker.provider (in package com.punto338.sample) is already used by com.punto338.othersample'' List of apks: [0] 'app-release.apk' |
@Atwa any updates about my last message? |
In last version when you try to take a second picture using the camera, this error appears. In v1.0.8 is working correctly I guess its because of compileSdk 34
Writing exception to parcel (Ask Gemini) java.lang.SecurityException: Permission Denial: writing androidx.core.content.FileProvider uri content://com.atwa.filepicker.provider/cache/17164781527943286665285211823.jpg from pid=23570, uid=10099 requires the provider be exported, or grantUriPermission() at android.content.ContentProvider.enforceWritePermissionInner(ContentProvider.java:1167) at android.content.ContentProvider.semEnforceWritePermission(ContentProvider.java:1093) at android.content.ContentProvider$Transport.enforceWritePermission(ContentProvider.java:836) at android.content.ContentProvider$Transport.enforceFilePermission(ContentProvider.java:803) at android.content.ContentProvider$Transport.openAssetFile(ContentProvider.java:609) at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:284) at android.os.Binder.execTransactInternal(Binder.java:1375) at android.os.Binder.execTransact(Binder.java:1311)
The text was updated successfully, but these errors were encountered: