Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/jsActions/mobile-resources-native/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

- We fixed native file system module reference.

## [11.3.5] Native Mobile Resources - 2026-2-4

- Changed a caption for the existing "Download file" action to "Download native file".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
{},
blob,
async () => {
await NativeModules.NativeFsModule.remove(filePathWithoutFileScheme);
await NativeModules.MendixNative.fsRemove(filePathWithoutFileScheme);

imageObject.set("Name", filename);

Expand All @@ -142,7 +142,7 @@
});
},
async (error: Error) => {
await NativeModules.NativeFsModule.remove(filePathWithoutFileScheme);
await NativeModules.MendixNative.fsRemove(filePathWithoutFileScheme);

reject(error);
}
Expand Down Expand Up @@ -322,7 +322,7 @@
);
}

function handleImagePickerV4Error(errorCode: ErrorCode, errorMessage?: string) {

Check warning on line 325 in packages/jsActions/mobile-resources-native/src/camera/TakePicture.ts

View workflow job for this annotation

GitHub Actions / Unit tests

Missing return type on function
switch (errorCode) {
case "camera_unavailable":
showAlert("The camera is unavailable", "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
{},
blob,
async () => {
await NativeModules.NativeFsModule.remove(filePathWithoutFileScheme);
await NativeModules.MendixNative.fsRemove(filePathWithoutFileScheme);

imageObject.set("Name", filename);

Expand All @@ -195,7 +195,7 @@
});
},
async (error: Error) => {
await NativeModules.NativeFsModule.remove(filePathWithoutFileScheme);
await NativeModules.MendixNative.fsRemove(filePathWithoutFileScheme);

reject(error);
}
Expand Down Expand Up @@ -385,7 +385,7 @@
});
}

function handleImagePickerV4Error(errorCode: ErrorCode, errorMessage?: string) {

Check warning on line 388 in packages/jsActions/mobile-resources-native/src/camera/TakePictureAdvanced.ts

View workflow job for this annotation

GitHub Actions / Unit tests

Missing return type on function
switch (errorCode) {
case "camera_unavailable":
showAlert("The camera is unavailable.", "");
Expand Down
Loading