Browse Source

Merge pull request #199 from wassgha/patch-1

Fixed bug with Android < 23
Mathieu Acthernoene 7 years ago
parent
commit
36a1d0efa6
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      lib/permissions.android.js

+ 2
- 2
lib/permissions.android.js View File

@@ -13,8 +13,8 @@ const permissionTypes = {
13 13
   microphone: PermissionsAndroid.PERMISSIONS.RECORD_AUDIO,
14 14
   contacts: PermissionsAndroid.PERMISSIONS.READ_CONTACTS,
15 15
   event: PermissionsAndroid.PERMISSIONS.READ_CALENDAR,
16
-  storage: PermissionsAndroid.PERMISSIONS.READ_EXTERNAL_STORAGE,
17
-  photo: PermissionsAndroid.PERMISSIONS.READ_EXTERNAL_STORAGE,
16
+  storage: PermissionsAndroid.PERMISSIONS.WRITE_EXTERNAL_STORAGE,
17
+  photo: PermissionsAndroid.PERMISSIONS.WRITE_EXTERNAL_STORAGE,
18 18
   callPhone: PermissionsAndroid.PERMISSIONS.CALL_PHONE,
19 19
   readSms: PermissionsAndroid.PERMISSIONS.READ_SMS,
20 20
   receiveSms: PermissionsAndroid.PERMISSIONS.RECEIVE_SMS,