Parcourir la source

Remove READ_PHONE_STATE from manifest

It was added by mistake to the library’s manifest instead of the e2e application’s manifest.
Guy Carmeli il y a 6 ans
Parent
révision
21e90f404a

+ 0
- 2
lib/android/app/src/main/AndroidManifest.xml Voir le fichier

@@ -1,8 +1,6 @@
1 1
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2 2
           package="com.reactnativenavigation">
3 3
 
4
-    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
5
-
6 4
     <application>
7 5
         <activity
8 6
             android:name="com.facebook.react.devsupport.DevSettingsActivity"

+ 1
- 0
playground/android/app/src/main/AndroidManifest.xml Voir le fichier

@@ -2,6 +2,7 @@
2 2
           package="com.reactnativenavigation.playground">
3 3
 
4 4
     <uses-permission android:name="android.permission.INTERNET"/>
5
+    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
5 6
 
6 7
     <application
7 8
         android:name=".MainApplication"