Browse Source

fix(android) disables the RNWebViewFileProvider

master
Titus-Andrei Moldovan 4 years ago
parent
commit
4cced3af07
1 changed files with 9 additions and 1 deletions
  1. 9
    1
      android/sdk/src/main/AndroidManifest.xml

+ 9
- 1
android/sdk/src/main/AndroidManifest.xml View File

@@ -1,5 +1,6 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2 2
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
+    xmlns:tools="http://schemas.android.com/tools"
3 4
     package="org.jitsi.meet.sdk">
4 5
     <!-- XXX ACCESS_NETWORK_STATE is required by WebRTC. -->
5 6
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
@@ -34,7 +35,7 @@
34 35
             android:launchMode="singleTask"
35 36
             android:resizeableActivity="true"
36 37
             android:supportsPictureInPicture="true"
37
-            android:windowSoftInputMode="adjustResize"></activity>
38
+            android:windowSoftInputMode="adjustResize"/>
38 39
         <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
39 40
 
40 41
         <service
@@ -48,6 +49,13 @@
48 49
         <service
49 50
             android:name="org.jitsi.meet.sdk.JitsiMeetOngoingConferenceService"
50 51
             android:foregroundServiceType="mediaProjection" />
52
+
53
+        <provider
54
+            android:name="com.reactnativecommunity.webview.RNCWebViewFileProvider"
55
+            android:authorities="${applicationId}.fileprovider"
56
+            android:enabled="false"
57
+            tools:replace="android:authorities">
58
+        </provider>
51 59
     </application>
52 60
 
53 61
 </manifest>

Loading…
Cancel
Save