Unable to get provider com.vinzscam.reactnativefileviewer.FileProvider
platinstudio opened this issue · 3 comments
platinstudio commented
hi, google play error
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to get provider com.vinzscam.reactnativefileviewer.FileProvider: java.lang.ClassNotFoundException: Didn't find class "com.vinzscam.reactnativefileviewer.FileProvider" on path: /data/app/com.test-1.apk
my androidmanifest:
<application>
...
<provider
android:name="com.vinzscam.reactnativefileviewer.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_viewer_provider_paths"
/>
</provider>
</application>
my "file_viewer_provider_paths.xml" file in " d:\test\android\app\src\main\res\xml"
<?xml version='1.0' encoding='utf-8'?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<files-path name="files" path="/" />
<external-files-path name="external_files" path="" />
<external-path name="external" path="." />
<cache-path name="cache" path="/" />
</paths>
"react-native": "0.63.3",
"react-native-file-viewer": "^2.1.4",
sacmii commented
facing same issue
riamon-v commented
Exact same here
riamon-v commented
Exact same here
The error occurs on Android 4.3 (SDK 18)