Pārlūkot izejas kodu

Add CALL_PHONE permission for android.

Chuong Le 7 gadus atpakaļ
vecāks
revīzija
e0e5b65f60
2 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 1
    0
      README.md
  2. 1
    0
      index.android.js

+ 1
- 0
README.md Parādīt failu

@@ -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 Parādīt failu

@@ -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 = {