Explorar el Código

Add CALL_PHONE permission for android.

Chuong Le hace 8 años
padre
commit
e0e5b65f60
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      README.md
  2. 1 0
      index.android.js

+ 1 - 0
README.md

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

+ 1 - 0
index.android.js

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