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

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.69",
5
5
  "description": "TODO",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -199,7 +199,7 @@
199
199
  "react-native-udp": "^4.1.3",
200
200
  "react-native-version-check": "^3.4.2",
201
201
  "react-native-vlc-media-player": "^1.0.41",
202
- "react-native-webview": "11.17.2",
202
+ "react-native-webview": "11.22.7",
203
203
  "react-native-wheel-color-picker": "^1.2.0",
204
204
  "react-native-wheel-scrollview-picker": "^1.2.2",
205
205
  "react-native-wifi-reborn": "^4.5.0",
@@ -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