@eohjsc/react-native-smart-city 0.4.67 → 0.4.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eohjsc/react-native-smart-city",
3
3
  "title": "React Native Smart Home",
4
- "version": "0.4.67",
4
+ "version": "0.4.68",
5
5
  "description": "TODO",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -56,7 +56,9 @@ export const keyPermission = {
56
56
  : PERMISSIONS.IOS.LOCATION_WHEN_IN_USE,
57
57
  CAMERA: isAndroid ? PERMISSIONS.ANDROID.CAMERA : PERMISSIONS.IOS.CAMERA,
58
58
  SELECT_PHOTO: isAndroid
59
- ? PERMISSIONS.ANDROID.READ_EXTERNAL_STORAGE
59
+ ? Platform.Version >= 33
60
+ ? PERMISSIONS.ANDROID.READ_MEDIA_IMAGES
61
+ : PERMISSIONS.ANDROID.READ_EXTERNAL_STORAGE
60
62
  : PERMISSIONS.IOS.PHOTO_LIBRARY,
61
63
  };
62
64