Skip to content

Commit c7b7860

Browse files
authored
Merge pull request #155 from chuongle/master
Add CALL_PHONE Permission for Android.
2 parents 2e3095f + e01e802 commit c7b7860

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The current supported permissions are:
88
- Photos
99
- Contacts
1010
- Events
11+
- Call Phone *(Android Only)*
1112
- Reminders *(iOS only)*
1213
- Bluetooth *(iOS only)*
1314
- Push Notifications *(iOS only)*
@@ -120,6 +121,7 @@ Promises resolve into one of these statuses
120121
|`backgroundRefresh`| ✔️ ||
121122
|`speechRecognition`| ✔️ ||
122123
|`storage`| ❌️ ||
124+
|`callPhone`| ❌️ ||
123125

124126
### Methods
125127
| Method Name | Arguments | Notes

index.android.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const RNPTypes = {
1212
event: RNPermissions.PERMISSIONS.READ_CALENDAR,
1313
storage: RNPermissions.PERMISSIONS.READ_EXTERNAL_STORAGE,
1414
photo: RNPermissions.PERMISSIONS.READ_EXTERNAL_STORAGE,
15+
call_phone: RNPermissions.PERMISSIONS.CALL_PHONE,
1516
}
1617

1718
const RESULTS = {

0 commit comments

Comments
 (0)