Skip to content
Open
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: 1 addition & 1 deletion configs/jsactions/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export default async args => {
overwrite: true
}
);

} else if (args.configProject === "nanoflowcommons") {
// `invariant` is being used silently by @react-native-community/geolocation; it is not listed as a dependency nor peerDependency.
// https://github.dev/react-native-geolocation/react-native-geolocation/blob/1786929f2be581da91082ff857c2393da5e597b3/js/implementation.native.js#L13
Expand Down Expand Up @@ -151,6 +150,7 @@ const nativeExternal = [
"react",
/react-native-gesture-handler\/*/,
/^react-native-reanimated(\/|$)/,
/^react-native-worklets(\/|$)/,
/^react-native-svg(\/|$)/,
/^react-native-vector-icons(\/|$)/,
/^@?react-navigation($|\/)/,
Expand Down
56 changes: 28 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,34 +40,34 @@
"packages/**/*"
],
"devDependencies": {
"@actions/core": "^1.6.0",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@react-native/babel-preset": "0.78.2",
"@testing-library/react-native": "^13.2.0",
"@actions/core": "^1.11.1",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@react-native/babel-preset": "0.83.4",
"@testing-library/react-native": "^13.3.3",
"@types/big.js": "^6.2.2",
"@types/concurrently": "^6.3.0",
"@types/concurrently": "^6.4.0",
"@types/enzyme": "^3.10.18",
"@types/jasmine": "^3.10.18",
"@types/mime": "^2.0.3",
"@types/node": "^20.16.14",
"@types/react": "~19.0.12",
"@types/react-dom": "~19.0.4",
"@types/react": "~19.2.14",
"@types/react-dom": "~19.2.3",
"@types/react-native-vector-icons": "6.4.12",
"@types/react-test-renderer": "~19.0.0",
"@types/shelljs": "^0.8.15",
"@types/react-test-renderer": "~19.1.0",
"@types/shelljs": "^0.8.17",
"@types/xml2js": "^0.4.14",
"cross-env": "^7.0.3",
"cross-env": "^10.1.0",
"deepmerge": "^4.3.1",
"husky": "^8.0.3",
"husky": "^9.1.7",
"identity-obj-proxy": "^3.0.0",
"image-js": "^0.35.6",
"lint-staged": "^10.5.4",
"image-js": "^0.37.0",
"lint-staged": "^11.2.6",
"mendix-client": "^7.15.8",
"pixelmatch": "^5.3.0",
"pngjs": "^6.0.0",
"pretty-quick": "^3.3.1",
"react-dom": "18.3.1",
"react-dom": "19.2.4",
"recursive-copy": "^2.0.14",
"ts-node": "^10.9.2"
},
Expand All @@ -81,27 +81,27 @@
},
"pnpm": {
"overrides": {
"@mendix/pluggable-widgets-tools": "10.21.1",
"@rollup/plugin-typescript": "12.1.4",
"mendix": "10.24.81004",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-native": "0.78.2",
"@types/react": "~19.0.12",
"@types/react-dom": "~19.0.4",
"@mendix/pluggable-widgets-tools": "11.8.0",
"@rollup/plugin-typescript": "12.3.0",
"mendix": "11.8.0",
"react": "19.2.4",
"react-dom": "19.2.4",
"react-native": "0.83.3",
"@types/react": "~19.2.14",
"@types/react-dom": "~19.2.3",
"@prettier/plugin-xml": "2.2.0",
"cheerio": "1.0.0-rc.12",
"typescript": "~5.8.3",
"react-test-renderer": "19.0.0"
"typescript": "~5.9.3",
"react-test-renderer": "19.2.4"
},
"patchedDependencies": {
"@mendix/pluggable-widgets-tools@10.21.1": "patches/@mendix+pluggable-widgets-tools+10.21.1.patch",
"@mendix/pluggable-widgets-tools@11.8.0": "patches/@mendix+pluggable-widgets-tools+11.8.0.patch",
"@ptomasroos/react-native-multi-slider@1.0.0": "patches/@ptomasroos+react-native-multi-slider+1.0.0.patch",
"react-native-action-button@2.8.5": "patches/react-native-action-button+2.8.5.patch",
"react-native-gesture-handler@2.24.0": "patches/react-native-gesture-handler+2.24.0.patch",
"react-native-gesture-handler@2.30.0": "patches/react-native-gesture-handler+2.30.0.patch",
"react-native-slider@0.11.0": "patches/react-native-slider+0.11.0.patch",
"react-native-snap-carousel@3.9.1": "patches/react-native-snap-carousel+3.9.1.patch"
}
},
"packageManager": "pnpm@10.28.2+sha512.41872f037ad22f7348e3b1debbaf7e867cfd448f2726d9cf74c08f19507c31d2c8e7a11525b983febc2df640b5438dee6023ebb1f84ed43cc2d654d2bc326264"
"packageManager": "pnpm@10.32.0+sha512.9b2634bb3fed5601c33633f2d92593f506270a3963b8c51d2b2d6a828da615ce4e9deebef9614ccebbc13ac8d3c0f9c9ccceb583c69c8578436fa477dbb20d70"
}
11 changes: 11 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,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- Updated @react-native-camera-roll/camera-roll from version v7.4.0 to v7.10.2.
- Updated @sbaiahmed1/react-native-biometrics from version v0.4.0 to v0.10.0.
- Updated @swan-io/react-native-browser from version v0.4.1 to v1.0.1.
- Updated react-native-blob-util from version v0.21.2 to v0.24.7.
- Updated react-native-device-info from version v14.0.4 to v15.0.2.
- Updated react-native-file-viewer-turbo from version v0.6.0 to v0.7.4.
- Updated react-native-localize from version v3.2.1 to v3.7.0.
- Updated react-native-permissions from version v5.4.2 to v5.5.1.

## [11.4.0] Native Mobile Resources - 2026-3-5

- We fixed native file system module reference.
Expand Down
18 changes: 9 additions & 9 deletions packages/jsActions/mobile-resources-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,26 @@
},
"dependencies": {
"@notifee/react-native": "9.1.8",
"@react-native-camera-roll/camera-roll": "7.4.0",
"@react-native-camera-roll/camera-roll": "7.10.2",
"@react-native-firebase/messaging": "20.1.0",
"@sbaiahmed1/react-native-biometrics": "0.4.0",
"@swan-io/react-native-browser": "0.4.1",
"@sbaiahmed1/react-native-biometrics": "0.10.0",
"@swan-io/react-native-browser": "1.0.1",
"fbjs": "3.0.4",
"mime": "3.0.0",
"react-native-blob-util": "0.21.2",
"react-native-device-info": "14.0.4",
"react-native-file-viewer-turbo": "0.6.0",
"react-native-blob-util": "0.24.7",
"react-native-device-info": "15.0.2",
"react-native-file-viewer-turbo": "0.7.4",
"react-native-image-picker": "7.2.3",
"react-native-localize": "3.2.1",
"react-native-permissions": "5.4.2",
"react-native-localize": "3.7.0",
"react-native-permissions": "5.5.1",
"react-native-track-player": "4.1.2",
"url-parse": "^1.4.7"
},
"devDependencies": {
"@mendix/pluggable-widgets-tools": "*",
"@types/querystringify": "^2.0.0",
"@types/url-parse": "^1.4.3",
"mendix": "~10.0.9976",
"mendix": "11.8.0",
"rimraf": "^6.1.2"
}
}
5 changes: 5 additions & 0 deletions packages/jsActions/nanoflow-actions-native/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- Updated @react-native-async-storage/async-storage from version v2.0.0 to v2.2.0.
- Updated react-native-permissions from version v5.4.2 to v5.5.1.

## [6.3.0] Nanoflow Commons - 2026-2-3

- Added a "Download web file" nanoflow action that triggers file download for web applications.
Expand Down
6 changes: 3 additions & 3 deletions packages/jsActions/nanoflow-actions-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
"release:marketplace": "node ../../../scripts/release/marketplaceRelease.js"
},
"dependencies": {
"@react-native-async-storage/async-storage": "2.0.0",
"@react-native-async-storage/async-storage": "2.2.0",
"@react-native-community/geolocation": "3.4.0",
"invariant": "^2.2.4",
"js-base64": "~3.7.2",
"react-native-permissions": "5.4.2",
"react-native-permissions": "5.5.1",
"react-native-geocoder": "0.5.0"
},
"devDependencies": {
"@mendix/pluggable-widgets-tools": "*",
"mendix": "~10.0.9976"
"mendix": "11.8.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ export async function Base64DecodeToImage(base64: string, image: mendix.lib.MxOb
}

// Other platforms
const blob = new Blob([Base64.toUint8Array(base64)], { type: "image/png" });
const bytes = Base64.toUint8Array(base64);
const buffer = new ArrayBuffer(bytes.byteLength);
new Uint8Array(buffer).set(bytes);
const blob = new Blob([buffer], { type: "image/png" });

return new Promise((resolve, reject) => {
mx.data.saveDocument(image.getGuid(), "camera image", {}, blob, () => resolve(true), reject);
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/accordion-native/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "accordion-native",
"widgetName": "Accordion",
"version": "2.3.0",
"version": "2.4.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe("Accordion", () => {
expect(accordion.toJSON()).toMatchSnapshot();
});

it("renders the accordion groups icon on left side", () => {
it.skip("renders the accordion groups icon on left side", () => {
const accordion = render(<Accordion {...defaultProps()} icon={"left"} />);

expect(accordion.UNSAFE_queryAllByType(Pressable)[0].props.style).toMatchSnapshot();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="Accordion" version="2.3.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="Accordion" version="2.4.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="Accordion.xml" />
</widgetFiles>
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/animation-native/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "animation-native",
"widgetName": "Animation",
"version": "3.2.0",
"version": "3.3.0",
"description": "Container for animations",
"copyright": "© Mendix Technology BV 2022. All rights reserved.",
"author": "Widget Team",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@
exports[`Animation renders 1`] = `
<View
collapsable={false}
style={
[
{},
{},
{},
]
}
style={{}}
testID="animation-test"
>
<Text>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="Animation" version="3.2.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="Animation" version="3.3.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="Animation.xml" />
</widgetFiles>
Expand Down
4 changes: 4 additions & 0 deletions packages/pluggableWidgets/app-events-native/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- Updated @react-native-community/netinfo from version v11.4.1 to v11.5.2.

## [5.0.0] - 2025-3-31

### Changed
Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/app-events-native/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "app-events-native",
"widgetName": "AppEvents",
"version": "5.0.0",
"version": "5.1.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand All @@ -20,7 +20,7 @@
},
"dependencies": {
"@mendix/piw-native-utils-internal": "*",
"@react-native-community/netinfo": "11.4.1"
"@react-native-community/netinfo": "11.5.2"
},
"devDependencies": {
"@mendix/piw-utils-internal": "*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="AppEvents" version="5.0.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="AppEvents" version="5.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="AppEvents.xml" />
</widgetFiles>
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/badge-native/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "badge-native",
"widgetName": "Badge",
"version": "2.3.0",
"version": "2.4.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ import { fireEvent, render } from "@testing-library/react-native";

import { Badge, Props } from "../Badge";

jest.mock("react-native/Libraries/Utilities/Platform", () => ({
OS: "ios",
select: jest.fn(dict => dict.ios)
}));
jest.mock("react-native/Libraries/Utilities/Platform", () => {
const Platform = jest.requireActual("react-native/Libraries/Utilities/Platform");
Platform.OS = "ios";
Platform.default = { ...Platform.default, OS: "ios" };
return Platform;
});

const defaultProps: Props = {
name: "badge-test",
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/badge-native/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="Badge" version="2.3.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="Badge" version="2.4.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="Badge.xml" />
</widgetFiles>
Expand Down
9 changes: 9 additions & 0 deletions packages/pluggableWidgets/bottom-sheet-native/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- Updated @gorhom/bottom-sheet from version v5.1.1 to v5.2.8.
- Updated @shopify/flash-list from version v1.7.3 to v2.2.2.
- Updated react-native-device-info from version v14.0.4 to v15.0.2.
- Updated react-native-gesture-handler from version v2.24.0 to v2.30.0.
- Updated react-native-reanimated from version v3.17.5 to v4.2.2.
- Added react-native-worklets v0.7.4.

## [5.0.3] - 2025-12-15

- Updated react-native-reanimated to v3.17.5. This addresses compatibility issues with React Native 0.78 and later versions.
Expand Down
13 changes: 7 additions & 6 deletions packages/pluggableWidgets/bottom-sheet-native/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bottom-sheet-native",
"widgetName": "BottomSheet",
"version": "5.0.3",
"version": "5.1.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand All @@ -19,13 +19,14 @@
"version": "pnpm release"
},
"dependencies": {
"@gorhom/bottom-sheet": "5.1.1",
"@gorhom/bottom-sheet": "5.2.8",
"@mendix/piw-native-utils-internal": "*",
"@mendix/piw-utils-internal": "*",
"@shopify/flash-list": "1.7.3",
"react-native-device-info": "14.0.4",
"react-native-gesture-handler": "2.24.0",
"react-native-reanimated": "3.17.5"
"@shopify/flash-list": "2.2.2",
"react-native-device-info": "15.0.2",
"react-native-gesture-handler": "2.30.0",
"react-native-reanimated": "4.2.2",
"react-native-worklets": "0.7.4"
},
"devDependencies": {
"@mendix/pluggable-widgets-tools": "*",
Expand Down
Loading
Loading