Browse Source

Merge pull request #155 from chuongle/master

Add CALL_PHONE Permission for Android.
Yonah Forst 7 years ago
parent
commit
c7b78609ad
2 changed files with 3 additions and 0 deletions
  1. 2
    0
      README.md
  2. 1
    0
      index.android.js

+ 2
- 0
README.md View File

8
 - Photos
8
 - Photos
9
 - Contacts
9
 - Contacts
10
 - Events
10
 - Events
11
+- Call Phone *(Android Only)*
11
 - Reminders *(iOS only)*
12
 - Reminders *(iOS only)*
12
 - Bluetooth *(iOS only)*
13
 - Bluetooth *(iOS only)*
13
 - Push Notifications *(iOS only)*
14
 - Push Notifications *(iOS only)*
120
 |`backgroundRefresh`| ✔️ | ❌ |
121
 |`backgroundRefresh`| ✔️ | ❌ |
121
 |`speechRecognition`| ✔️ | ❌ |
122
 |`speechRecognition`| ✔️ | ❌ |
122
 |`storage`| ❌️ | ✔ |
123
 |`storage`| ❌️ | ✔ |
124
+|`callPhone`| ❌️ | ✔ |
123
 
125
 
124
 ### Methods
126
 ### Methods
125
 | Method Name | Arguments | Notes
127
 | Method Name | Arguments | Notes

+ 1
- 0
index.android.js View File

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