Ver código fonte

Merge pull request #301 from 1uokun/master

Solve the conflict between FileProvider and other libraries
Travis Nuttall 5 anos atrás
pai
commit
9425ccbd97
Nenhuma conta vinculada ao e-mail do autor do commit

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

@@ -24,7 +24,7 @@
24 24
     <application android:label="@string/app_name">
25 25
 
26 26
         <provider
27
-            android:name="androidx.core.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 arquivo

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