Преглед изворни кода

Merge pull request #199 from wassgha/patch-1

Fixed bug with Android < 23
Mathieu Acthernoene пре 7 година
родитељ
комит
36a1d0efa6
No account linked to committer's email address
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      lib/permissions.android.js

+ 2
- 2
lib/permissions.android.js Прегледај датотеку

@@ -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,