Skip to content
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

Closed
punto338 opened this issue May 23, 2024 · 4 comments
Closed

Bug in v1.0.9 #25

punto338 opened this issue May 23, 2024 · 4 comments

Comments

@punto338
Copy link

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)

@Atwa
Copy link
Owner

Atwa commented May 23, 2024

I guess from the stack trace the provider only should be marked as exported.
I'll try to fix this ASAP.
Thanks @punto338

@punto338
Copy link
Author

I guess from the stack trace the provider only should be marked as exported. I'll try to fix this ASAP. Thanks @punto338

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'

@punto338
Copy link
Author

punto338 commented Jul 1, 2024

@Atwa any updates about my last message?

@Atwa
Copy link
Owner

Atwa commented Jul 2, 2024

@punto338 Closed by #26

@Atwa Atwa closed this as completed Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants