|
@@ -30,6 +30,7 @@ public class ReactNativePermissionsModule extends ReactContextBaseJavaModule {
|
30
|
30
|
MICROPHONE,
|
31
|
31
|
CONTACTS,
|
32
|
32
|
EVENT,
|
|
33
|
+ STORAGE,
|
33
|
34
|
PHOTO;
|
34
|
35
|
}
|
35
|
36
|
|
|
@@ -127,6 +128,7 @@ public class ReactNativePermissionsModule extends ReactContextBaseJavaModule {
|
127
|
128
|
return Manifest.permission.READ_CONTACTS;
|
128
|
129
|
case EVENT:
|
129
|
130
|
return Manifest.permission.READ_CALENDAR;
|
|
131
|
+ case STORAGE:
|
130
|
132
|
case PHOTO:
|
131
|
133
|
return Manifest.permission.READ_EXTERNAL_STORAGE;
|
132
|
134
|
default:
|