@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
@@ -1,3 +1,8 @@
1
+
2
+ # v8.0.5 2025-11-25
3
+ * restored the correct v5 core-controls dependency
4
+ * added colorAppBar prop to SelectedImages to fix app bar color customization
5
+
1
6
  # v8.0.4 2025-11-24
2
7
  * downgraded core control dependency to something that actually exists, 5 to 4
3
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supportworks/multi-imagepicker",
3
- "version": "8.0.4",
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": ">=4.0.0",
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, native camera on Android
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)
@@ -129,6 +129,7 @@ const SelectedImages = (
129
129
  <MediaPlayer
130
130
  mediaId={mediaIndex}
131
131
  backgroundColor={colors.black}
132
+ colorAppBar={'white'}
132
133
  resourceList={resourceList}
133
134
  initialResource={mediaIndex}
134
135
  annotationAllowed={annotationAllowed}