浏览代码

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 6 年前
父节点
当前提交
21e90f404a
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0
    2
      lib/android/app/src/main/AndroidManifest.xml
  2. 1
    0
      playground/android/app/src/main/AndroidManifest.xml

+ 0
- 2
lib/android/app/src/main/AndroidManifest.xml 查看文件

@@ -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 查看文件

@@ -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"