@supportworks/multi-imagepicker 8.4.3 → 8.4.5

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,6 @@
1
+ # Unreleased
2
+ * DEV-10192: Protect the full-screen selected-media preview from Android navigation buttons/taskbar. Keep the annotation wrapper top-only because Canvas owns Samsung bottom padding; the attachment editor and image-details modal already protect both edges.
3
+
1
4
  # v8.4.2 2026-09-17
2
5
  * DEV-9953: Use virtualized thumbnail previews in Attach and the camera Session Roll; clean up temporary previews.
3
6
  * Serialize selection/processing/attachment across picker instances, await camera dismissal and save callbacks, and show processing/saving feedback.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supportworks/multi-imagepicker",
3
- "version": "8.4.3",
3
+ "version": "8.4.5",
4
4
  "description": "Android and iOS customized multiple image picker. For react-native >= 0.60.",
5
5
  "main": "index.js",
6
6
  "author": {
@@ -24,6 +24,7 @@
24
24
  "expo-sensors": "*",
25
25
  "@supportworks/swmaterialdesign": ">=1.1.3",
26
26
  "react-native-image-crop-picker": ">=0.25.0",
27
+ "react-native-keyboard-aware-scroll-view": "^0.9.5",
27
28
  "react-native-responsive-layout": "git@github.com:InspiredAgency/react-native-responsive-layout.git",
28
29
  "moment": ">=2.24.0"
29
30
  }
@@ -1,9 +1,9 @@
1
1
  import React, { useCallback, useMemo, useEffect, useState } from 'react'
2
2
  import {
3
3
  View,
4
- FlatList,
5
4
  Modal
6
5
  } from 'react-native'
6
+ import { KeyboardAwareFlatList } from 'react-native-keyboard-aware-scroll-view'
7
7
  import SingleImage from './SingleImage'
8
8
  import { Analytics } from '@supportworks/analytics'
9
9
  import { MediaPlayer, ScreenSafeAreaView } from '@supportworks/core-controls'
@@ -102,7 +102,7 @@ const SelectedImages = (
102
102
 
103
103
  return (
104
104
  <>
105
- <FlatList
105
+ <KeyboardAwareFlatList
106
106
  data={items}
107
107
  extraData={{ version, imageVersions }}
108
108
  keyExtractor={item => item.path}
@@ -140,7 +140,7 @@ const SelectedImages = (
140
140
  onRequestClose={closeMedia}
141
141
  visible
142
142
  >
143
- <ScreenSafeAreaView style={{ flex: 1, backgroundColor: colors.black }} includeProvider>
143
+ <ScreenSafeAreaView style={{ flex: 1, backgroundColor: colors.black }} edges={['top', 'bottom']} includeProvider>
144
144
  <MediaPlayer
145
145
  mediaId={mediaIndex}
146
146
  backgroundColor={colors.black}
@@ -228,7 +228,8 @@ const SingleImage = (
228
228
  if (showCanvas) {
229
229
  return (
230
230
  <Modal presentationStyle='fullScreen' animationType='slide'>
231
- <ScreenSafeAreaView style={styles.Page} includeProvider>
231
+ {/* Canvas owns Samsung bottom padding; this wrapper only protects the top. */}
232
+ <ScreenSafeAreaView style={styles.Page} edges={['top']} includeProvider>
232
233
  <Canvas settings={annotationJson.settings} history={annotationJson.history} base64image={'data:image/jpeg;base64,' + canvasData} onSave={onSaveCanvas} onClose={onCloseCanvas} />
233
234
  </ScreenSafeAreaView>
234
235
  </Modal>