Closed issamux closed 1 month ago
it seem that ImageViewerFileProvider is not merged in manifest project !!!
even if the code seem correct in shared grade build file
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
Hello, @issamux!
Thanks for highlighting this.
We forgot to add
I reviewed your PR, and it seems like it doesn't fix that issue in its current state. But adding this should fix it:
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" />
right after android:grantUriPermissions="true">
in the shared/src/androidMain/AndroidManifest.xml
Thus, if you want to fix it yourself, please, consider my suggestion. We would be glad for your contribution here.
@mazunin-v-jb thanks for your comment, PR updated.
Describe the bug ImageViewer android application crash due to missing Android Manifest FileProvider
Affected platforms
Versions Libraries:
To Reproduce Steps to reproduce the behavior:
Expected behavior Share dialog open
current behavior Application crash