@supportworks/multi-imagepicker 8.0.4 → 8.0.6
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/changes.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supportworks/multi-imagepicker",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.6",
|
|
4
4
|
"description": "Android and iOS customized multiple image picker. For react-native >= 0.60.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@supportworks/api-core": ">=1.0.9",
|
|
19
19
|
"@supportworks/app-styler": ">=1.0.6",
|
|
20
20
|
"@supportworks/camera": ">=0.2.3",
|
|
21
|
-
"@supportworks/core-controls": ">=
|
|
21
|
+
"@supportworks/core-controls": ">=5.0.0",
|
|
22
22
|
"@supportworks/icon-library": ">=1.4.3",
|
|
23
23
|
"@supportworks/navbars": ">=0.1.3",
|
|
24
24
|
"@supportworks/swmaterialdesign": ">=1.1.3",
|
|
@@ -274,8 +274,8 @@ const MultiImagePicker = forwardRef((props, ref) => {
|
|
|
274
274
|
case takePhotoIndex:
|
|
275
275
|
console.log('User pressed take photo')
|
|
276
276
|
|
|
277
|
-
// Use CameraModal on iOS
|
|
278
|
-
if (Platform.OS === 'ios') {
|
|
277
|
+
// Use CameraModal on iOS 26+, native camera on Android
|
|
278
|
+
if (Platform.OS === 'ios' && parseInt(Platform.Version,10) >= 26) {
|
|
279
279
|
setPendingPickerIndex(index)
|
|
280
280
|
setPendingCancelIndex(cancelIndex)
|
|
281
281
|
setShowCameraModal(true)
|