Explorar el Código

Solve the conflict between FileProvider and other libraries

罗坤 hace 5 años
padre
commit
24683eb416

+ 2
- 2
android/src/main/AndroidManifest.xml Ver fichero

@@ -24,7 +24,7 @@
24 24
     <application android:label="@string/app_name">
25 25
 
26 26
         <provider
27
-            android:name="android.support.v4.content.FileProvider"
27
+            android:name="com.RNFetchBlob.Utils.FileProvider"
28 28
             android:authorities="${applicationId}.provider"
29 29
             android:exported="false"
30 30
             android:grantUriPermissions="true">
@@ -34,4 +34,4 @@
34 34
         </provider>
35 35
     </application>
36 36
 
37
-</manifest>
37
+</manifest>

+ 4
- 0
android/src/main/java/com/RNFetchBlob/Utils/FileProvider.java Ver fichero

@@ -0,0 +1,4 @@
1
+package com.RNFetchBlob.Utils;
2
+
3
+public class FileProvider extends android.support.v4.content.FileProvider {
4
+}