Open myxzlpltk opened 3 months ago
Hello, @myxzlpltk
To resolve this issue,
=> Add below into android > main > res > xml folder (if not available then create new) => create new .xml file with named 'provider_paths' under the xml folder and paste below code
<?xml version="1.0" encoding="utf-8"?>
<paths>
<external-files-path name="external_files" path="."/>
<external-path
name="external"
path="." />
<cache-path
name="cache"
path="." />
<external-cache-path
name="external_cache"
path="." />
<files-path
name="files"
path="." />
</paths>
=> Now add below code into you AndroidManifest.xml file
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider>
Issue is Resolved!!
Happy Coding!
Few months ago it was working fine. But suddenly its throw error like this