Open csimpi opened 4 years ago
I'm having the same problem. Did you find a solution?
@ouelleta Unfortunately I didn't.
Seems to work when I add those 2 providers under < application>.
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true"
tools:replace="android:authorities">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"
tools:replace="android:resource" />
</provider>
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true"
tools:replace="android:authorities" >
<meta-data android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"
tools:replace="android:resource" />
</provider>
xmlns:tools="http://schemas.android.com/tools"
must also be added to < manifest>
@ouelleta Does below line does not allow file_paths resources from other libraries ?
<meta-data android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"
tools:replace="android:resource"
After installing the plugin I'm getting this error message: