From 99923b5ed226bfe5fc203bb8db117e3e7abf2326 Mon Sep 17 00:00:00 2001 From: "Srirang.Kalantri" Date: Thu, 2 Apr 2026 12:10:00 +0530 Subject: [PATCH 1/2] fix: change the depricated function in SaveToPictureLibrary --- .../mobile-resources-native/CHANGELOG.md | 42 ++++++++++--------- .../src/camera/SaveToPictureLibrary.ts | 2 +- 2 files changed, 23 insertions(+), 21 deletions(-) diff --git a/packages/jsActions/mobile-resources-native/CHANGELOG.md b/packages/jsActions/mobile-resources-native/CHANGELOG.md index 8fcf059db..e05a1e3d1 100644 --- a/packages/jsActions/mobile-resources-native/CHANGELOG.md +++ b/packages/jsActions/mobile-resources-native/CHANGELOG.md @@ -6,7 +6,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] -## [11.3.7] Native Mobile Resources - 2026-3-14 +### Changed + +- We replaced the depricated CameraRoll.saveToCameraRoll with CameraRoll.saveAsset in SaveToPictureLibrary activity. + +## [10.1.16] Native Mobile Resources - 2026-3-14 + +## [2.0.1] GalleryTextFilter + +### Fixed + +- Fixed VoiceOver/TalkBack not announcing the clear text button and text input value. ## [1.1.1] Switch @@ -19,50 +29,42 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - We fixed an issue where the validation message was rendered inside the view container of the switch, which caused incorrect styling of the switch. - Fixed an issue where -## [11.3.6] Native Mobile Resources - 2026-3-5 +## [10.1.15] Native Mobile Resources - 2026-3-4 -- We fixed native file system module reference. +## [2.0.2] Gallery -## [11.3.5] Native Mobile Resources - 2026-2-4 +### Fixed - Changed a caption for the existing "Download file" action to "Download native file". -## [11.3.4] Native Mobile Resources - 2026-1-22 +## [10.1.14] Native Mobile Resources - 2026-1-22 -## [3.0.3] Image +## [3.0.1] Image ### Changed - We fixed image enlargement issue on Android. -## [11.3.3] Native Mobile Resources - 2026-1-19 - -## [2.2.1] BackgroundGradient +## [10.1.13] Native Mobile Resources - 2026-1-19 -- We fixed an issue where the `background-gradient-native` widget would not render correctly with the new RN architecture upgrade. - -## [4.2.1] IntroScreen +## [4.1.1] IntroScreen ### Fixed - We fixed an issue where using the conditional visibility on the IntroScreen would cause the widget not to render. -## [4.0.1] PopupMenu - -- We fixed an iOS issue where native Popup Menu icons were not tappable and failed to open the menu. - -## [11.3.2] Native Mobile Resources - 2025-12-23 +## [10.1.11] Native Mobile Resources - 2025-12-19 ## [4.2.2] BarcodeScanner - We expanded the barcode-scanner configuration in Vision Camera to support all available `CodeType` formats, including QR, Aztec, Data Matrix, PDF-417, EAN, UPC, GS1 DataBar, ITF, and Code barcodes. - We updated react-native-vision-camera from version v4.7.1 to v4.7.3. -## [11.3.1] Native Mobile Resources - 2025-12-15 +## [10.1.10] Native Mobile Resources - 2025-12-11 -## [5.0.3] BottomSheet +## [4.2.1] BarcodeScanner -- Updated react-native-reanimated to v3.17.5. This addresses compatibility issues with React Native 0.78 and later versions. +### Fixed ## [2.0.1] GalleryTextFilter diff --git a/packages/jsActions/mobile-resources-native/src/camera/SaveToPictureLibrary.ts b/packages/jsActions/mobile-resources-native/src/camera/SaveToPictureLibrary.ts index 86b7e78b3..0e427a55d 100644 --- a/packages/jsActions/mobile-resources-native/src/camera/SaveToPictureLibrary.ts +++ b/packages/jsActions/mobile-resources-native/src/camera/SaveToPictureLibrary.ts @@ -33,7 +33,7 @@ export async function SaveToPictureLibrary(picture?: mendix.lib.MxObject): Promi // Save the file as a photo to the camera roll. try { - const savedUri = await CameraRoll.saveToCameraRoll(url, "auto"); + const savedUri = await CameraRoll.saveAsset(url); return Promise.resolve(savedUri.node.image.uri); } catch (error) { return Promise.reject(error); From 0e6696addf405835133fd6fdfcb9c2c5d11d3e7c Mon Sep 17 00:00:00 2001 From: "Srirang.Kalantri" Date: Thu, 2 Apr 2026 16:28:14 +0530 Subject: [PATCH 2/2] fix: change log --- .../mobile-resources-native/CHANGELOG.md | 38 ++++++++++--------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/packages/jsActions/mobile-resources-native/CHANGELOG.md b/packages/jsActions/mobile-resources-native/CHANGELOG.md index e05a1e3d1..5d27097be 100644 --- a/packages/jsActions/mobile-resources-native/CHANGELOG.md +++ b/packages/jsActions/mobile-resources-native/CHANGELOG.md @@ -10,13 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - We replaced the depricated CameraRoll.saveToCameraRoll with CameraRoll.saveAsset in SaveToPictureLibrary activity. -## [10.1.16] Native Mobile Resources - 2026-3-14 - -## [2.0.1] GalleryTextFilter - -### Fixed - -- Fixed VoiceOver/TalkBack not announcing the clear text button and text input value. +## [11.3.7] Native Mobile Resources - 2026-3-14 ## [1.1.1] Switch @@ -29,42 +23,50 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - We fixed an issue where the validation message was rendered inside the view container of the switch, which caused incorrect styling of the switch. - Fixed an issue where -## [10.1.15] Native Mobile Resources - 2026-3-4 +## [11.3.6] Native Mobile Resources - 2026-3-5 -## [2.0.2] Gallery +- We fixed native file system module reference. -### Fixed +## [11.3.5] Native Mobile Resources - 2026-2-4 - Changed a caption for the existing "Download file" action to "Download native file". -## [10.1.14] Native Mobile Resources - 2026-1-22 +## [11.3.4] Native Mobile Resources - 2026-1-22 -## [3.0.1] Image +## [3.0.3] Image ### Changed - We fixed image enlargement issue on Android. -## [10.1.13] Native Mobile Resources - 2026-1-19 +## [11.3.3] Native Mobile Resources - 2026-1-19 + +## [2.2.1] BackgroundGradient + +- We fixed an issue where the `background-gradient-native` widget would not render correctly with the new RN architecture upgrade. -## [4.1.1] IntroScreen +## [4.2.1] IntroScreen ### Fixed - We fixed an issue where using the conditional visibility on the IntroScreen would cause the widget not to render. -## [10.1.11] Native Mobile Resources - 2025-12-19 +## [4.0.1] PopupMenu + +- We fixed an iOS issue where native Popup Menu icons were not tappable and failed to open the menu. + +## [11.3.2] Native Mobile Resources - 2025-12-23 ## [4.2.2] BarcodeScanner - We expanded the barcode-scanner configuration in Vision Camera to support all available `CodeType` formats, including QR, Aztec, Data Matrix, PDF-417, EAN, UPC, GS1 DataBar, ITF, and Code barcodes. - We updated react-native-vision-camera from version v4.7.1 to v4.7.3. -## [10.1.10] Native Mobile Resources - 2025-12-11 +## [11.3.1] Native Mobile Resources - 2025-12-15 -## [4.2.1] BarcodeScanner +## [5.0.3] BottomSheet -### Fixed +- Updated react-native-reanimated to v3.17.5. This addresses compatibility issues with React Native 0.78 and later versions. ## [2.0.1] GalleryTextFilter