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
9 changes: 9 additions & 0 deletions ios/DeveloperApp/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class AppDelegate: ReactAppProvider {
override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
super.setUpProvider()
super.application(application, didFinishLaunchingWithOptions: launchOptions)
NativeCookieModule.restoreSessionCookies()
clearKeychainIfNecessary()
setUpDevice()
setUpGoogleMaps()
Expand All @@ -36,6 +37,14 @@ class AppDelegate: ReactAppProvider {
return true
}

override func applicationDidEnterBackground(_ application: UIApplication) {
NativeCookieModule.persistSessionCookies()
}

override func applicationWillTerminate(_ application: UIApplication) {
NativeCookieModule.persistSessionCookies()
}

private func launchMendixAppWithOptions(options: [AnyHashable: Any] = [:]) {
ReactNative.shared.setup(MendixAppEntryType.deeplink.mendixApp, launchOptions: options)
ReactNative.shared.start()
Expand Down
6 changes: 3 additions & 3 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ PODS:
- libwebp/sharpyuv (1.5.0)
- libwebp/webp (1.5.0):
- libwebp/sharpyuv
- MendixNative (0.3.0):
- MendixNative (0.3.1):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -2974,7 +2974,7 @@ SPEC CHECKSUMS:
hermes-engine: 2771b98fb813fdc6f92edd7c9c0035ecabf9fee7
IQKeyboardManager: c8665b3396bd0b79402b4c573eac345a31c7d485
libwebp: 02b23773aedb6ff1fd38cec7a77b81414c6842a8
MendixNative: a55e00448d33a66d59bd4b5c5d3057123d34337c
MendixNative: 358ef00fc883a39da69680c6c2a09ecf85a0b887
MultiplatformBleAdapter: 5a6a897b006764392f9cef785e4360f54fb9477d
nanopb: 438bc412db1928dac798aa6fd75726007be04262
op-sqlite: 12554de3e1a0cb86cbad3cf1f0c50450f57d3855
Expand Down Expand Up @@ -3086,6 +3086,6 @@ SPEC CHECKSUMS:
VisionCamera: 9a8f98ae344fe5d148f84bb45829f9e4caab9d2f
Yoga: e14bad835e12b6c7e2260fc320bd00e0f4b45add

PODFILE CHECKSUM: 31efe3f3eb2c09c2c2cd75ac7556c032a5324d1f
PODFILE CHECKSUM: 6d3ca2b313f2042ecffa8f1e7cca1d98ea668bfe

COCOAPODS: 1.16.2
110 changes: 84 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"@gorhom/bottom-sheet": "5.1.1",
"mendix-native": "https://github.com/mendix/mendix-native/releases/download/v0.3.0/mendix-native-v0.3.0.tgz",
"mendix-native": "https://github.com/mendix/mendix-native/releases/download/v0.3.1/mendix-native-v0.3.1.tgz",
"@notifee/react-native": "9.1.8",
"@octokit/rest": "^21.1.1",
"@op-engineering/op-sqlite": "15.0.7",
Expand Down