diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b038224..a9bfa167 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +- We fixed an issue on iOS where a deep link that cold started the app was not delivered to React Native, causing `Linking.getInitialURL()` to return `null`. + ## [17.4.2] - 2026-08-24 - We hardened the Android main screen against overlay and tapjacking attacks, and removed the unused `SYSTEM_ALERT_WINDOW` permission. diff --git a/ios/Dev/AppDelegate.swift b/ios/Dev/AppDelegate.swift index b174b720..7a28d334 100644 --- a/ios/Dev/AppDelegate.swift +++ b/ios/Dev/AppDelegate.swift @@ -47,10 +47,8 @@ class AppDelegate: ReactAppProvider { isDevModeEnabled: AppPreferences.devModeEnabled ) - let launchOptions = NSMutableDictionary(dictionary: options) - launchOptions[UIApplication.LaunchOptionsKey.url] = url - launchOptions[UIApplication.OpenURLOptionsKey.annotation] = options[UIApplication.OpenURLOptionsKey.annotation] - + let launchOptions = ReactAppProvider.launchOptions(from: url, options: options) + let mxApp = MendixApp.init( identifier: nil, bundleUrl: bundleUrl, @@ -63,7 +61,7 @@ class AppDelegate: ReactAppProvider { enableThreeFingerGestures: false ) - ReactNative.shared.setup(mxApp, launchOptions: launchOptions as? [AnyHashable : Any]) + ReactNative.shared.setup(mxApp, launchOptions: launchOptions) ReactNative.shared.start() return handled diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 9de88f44..2b46ba92 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -26,7 +26,7 @@ PODS: - libwebp/sharpyuv (1.5.0) - libwebp/webp (1.5.0): - libwebp/sharpyuv - - MendixNative (0.3.4): + - MendixNative (0.3.5): - DoubleConversion - glog - hermes-engine @@ -2586,7 +2586,7 @@ SPEC CHECKSUMS: libavif: 84bbb62fb232c3018d6f1bab79beea87e35de7b7 libdav1d: 23581a4d8ec811ff171ed5e2e05cd27bad64c39f libwebp: 02b23773aedb6ff1fd38cec7a77b81414c6842a8 - MendixNative: 0a3caf6245eb2932bf109c2e7af213c8ff959679 + MendixNative: 1a9da1f87bdb7bc79c5a9e2147e4948ce5d56c06 op-sqlite: 12554de3e1a0cb86cbad3cf1f0c50450f57d3855 OpenSSL-Universal: ecee7b138fa75a74ecf00d7ffd248fb584739b9e RCT-Folly: 46b84c7990d4a373ccef77134c23c763ba5cf3a0 @@ -2676,4 +2676,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: e265124740c7e8d3ce93ef970c87f247433e1c66 -COCOAPODS: 1.17.0 +COCOAPODS: 1.16.2 diff --git a/package-lock.json b/package-lock.json index 49c3a30d..5a38d923 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "@react-native-picker/picker": "2.11.0", "@react-navigation/native": "7.0.14", "@shopify/flash-list": "2.2.2", - "mendix-native": "https://github.com/mendix/mendix-native/releases/download/v0.3.4/mendix-native-v0.3.4.tgz", + "mendix-native": "https://github.com/mendix/mendix-native/releases/download/v0.3.5/mendix-native-v0.3.5.tgz", "react-native": "0.78.2", "react-native-blob-util": "0.21.3", "react-native-bootsplash": "6.3.10", @@ -6496,9 +6496,9 @@ "license": "MIT" }, "node_modules/mendix-native": { - "version": "0.3.4", - "resolved": "https://github.com/mendix/mendix-native/releases/download/v0.3.4/mendix-native-v0.3.4.tgz", - "integrity": "sha512-vzac18InM/6RhjVEZi+0geN2qlv6xJSeIOrOSvDGiZRr4jbtDUUKhFwl4z2pj8+MKKgAgz6Atcs/xL9Cn7zAEg==", + "version": "0.3.5", + "resolved": "https://github.com/mendix/mendix-native/releases/download/v0.3.5/mendix-native-v0.3.5.tgz", + "integrity": "sha512-iaervjcK5Id7dafUZCg3ape4tj9Dnd9zw+82CIJTaukesmKtdl8J91hovS6L8SOyb0x5K5BEWED7ATOdVQGluQ==", "license": "MIT", "workspaces": [ "example" diff --git a/package.json b/package.json index e605e221..8a457bf8 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "dependencies": { "@d11/react-native-fast-image": "8.11.1", "@gorhom/bottom-sheet": "5.1.1", - "mendix-native": "https://github.com/mendix/mendix-native/releases/download/v0.3.4/mendix-native-v0.3.4.tgz", + "mendix-native": "https://github.com/mendix/mendix-native/releases/download/v0.3.5/mendix-native-v0.3.5.tgz", "@op-engineering/op-sqlite": "15.0.7", "@shopify/flash-list": "2.2.2", "@react-native-async-storage/async-storage": "2.0.0",