@onekeyfe/react-native-app-update 1.1.23 → 1.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<application>
|
|
6
6
|
<provider
|
|
7
7
|
android:name="androidx.core.content.FileProvider"
|
|
8
|
-
android:authorities="${applicationId}.fileprovider"
|
|
8
|
+
android:authorities="${applicationId}.appupdate.fileprovider"
|
|
9
9
|
android:exported="false"
|
|
10
10
|
android:grantUriPermissions="true">
|
|
11
11
|
<meta-data
|
package/android/src/main/java/com/margelo/nitro/reactnativeappupdate/ReactNativeAppUpdate.kt
CHANGED
|
@@ -821,7 +821,7 @@ class ReactNativeAppUpdate : HybridReactNativeAppUpdateSpec() {
|
|
|
821
821
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
|
822
822
|
val apkUri = FileProvider.getUriForFile(
|
|
823
823
|
context,
|
|
824
|
-
"${context.packageName}.fileprovider",
|
|
824
|
+
"${context.packageName}.appupdate.fileprovider",
|
|
825
825
|
file
|
|
826
826
|
)
|
|
827
827
|
intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
|