File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
packages/document-viewer/android/src/main/java/com/reactnativedocumentviewer Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class RNDocumentViewerModule(reactContext: ReactApplicationContext) : NativeDocu
6363 } else if (bookmarkOrUri.startsWith(" file://" )) {
6464 val uri = Uri .parse(bookmarkOrUri)
6565 // TODO package name may not be the same as applicationId. Also see document-viewer/android/src/main/AndroidManifest.xml
66- val authority = reactApplicationContext.packageName + " .reactnativedocumentviewer.provider "
66+ val authority = reactApplicationContext.packageName + " .reactnativedocumentviewer.fileprovider "
6767 val uriPath = uri.path ? : throw IllegalArgumentException (" file:// uri must have a path" )
6868 val fileUri = FileProvider .getUriForFile(
6969 reactApplicationContext,
You can’t perform that action at this time.
0 commit comments