Open jatin-bhuva opened 1 year ago
I've also run into this issue today. What I did was to add this to the AndroidManifest.xml
file
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.FileProvider"
android:exported="false"
android:grantUriPermissions="true"
tools:replace="android:authorities">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/merged_provider_paths"
tools:replace="android:resource" />
</provider>
I also created the merged_provider_paths.xml
file inside the xml
folder to contain what is in the intercom_file_paths.xml
and in the conflicted library. In your case, it should be inside @xml/file_paths
.
Mine looks like this
<?xml version="1.0" encoding="utf-8"?>
<paths>
<cache-path
name="shared_images"
path="images/" />
<external-path name="external" path="." />
</paths>
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/merged_provider_paths" tools:replace="android:resource" />
@junocs Can you explain it a bit further?
Since last Monday I am getting the below error while building the app from the Android studio:
This is related to @intercom/intercom-react-native 5.1.1 library manifest file. Let me know if anyone have idea for this.