Skip to content

Commit cab6a51

Browse files
fix(viewer): made file provider unique to prevent clash with other packages (#872)
* changed file provider to prevent clash with other packages * Update file provider to be unique to package Made file provider unique to package to prevent clash with other packages --------- Co-authored-by: Vojtech Novak <vonovak@gmail.com>
1 parent 70ad95d commit cab6a51

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/strong-baboons-allow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@react-native-documents/viewer": patch
3+
---
4+
5+
Made file provider unique to package to prevent clash with other packages

packages/document-viewer/android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!-- android:authorities needs to be unique to an app, so we cannot hardcode it -->
77
<provider
88
android:name="androidx.core.content.FileProvider"
9-
android:authorities="${applicationId}.provider"
9+
android:authorities="${applicationId}.reactnativedocumentviewer.fileprovider"
1010
android:exported="false"
1111
android:grantUriPermissions="true">
1212
<meta-data

0 commit comments

Comments
 (0)