Browse Source

Add CALL_PHONE permission for android.

Chuong Le 7 years ago
parent
commit
e0e5b65f60
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      README.md
  2. 1
    0
      index.android.js

+ 1
- 0
README.md View File

@@ -120,6 +120,7 @@ Promises resolve into one of these statuses
120 120
 |`backgroundRefresh`| ✔️ | ❌ |
121 121
 |`speechRecognition`| ✔️ | ❌ |
122 122
 |`storage`| ❌️ | ✔ |
123
+|`call_phone`| ❌️ | ✔ |
123 124
 
124 125
 ### Methods
125 126
 | Method Name | Arguments | Notes

+ 1
- 0
index.android.js View File

@@ -12,6 +12,7 @@ const RNPTypes = {
12 12
 	event: RNPermissions.PERMISSIONS.READ_CALENDAR,
13 13
 	storage: RNPermissions.PERMISSIONS.READ_EXTERNAL_STORAGE,
14 14
 	photo: RNPermissions.PERMISSIONS.READ_EXTERNAL_STORAGE,
15
+	call_phone: RNPermissions.PERMISSIONS.CALL_PHONE,
15 16
 }
16 17
 
17 18
 const RESULTS = {