Skip to content

Commit f73f721

Browse files
chore: update mendix/native to v9.2.2 to enhance ios session cookie handling
1 parent edb66fd commit f73f721

File tree

7 files changed

+30
-8
lines changed

7 files changed

+30
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this template will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [Unreleased]
8+
9+
- We updated `@mendix/native` to v9.2.2, enabling session cookie persistence and restoration on iOS.
10+
711
## [14.1.8] - 2025-11-21
812

913
- We added a new property to gradle.properties for scanning QR codes.

ios/AppDelegate.m

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ @implementation AppDelegate
1010
@synthesize hasHandledLaunchAppWithOptions;
1111

1212
- (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
13+
[SessionCookieStore restore];
1314
[self clearKeychain];
1415
MendixAppDelegate.delegate = self;
1516
[MendixAppDelegate application:application didFinishLaunchingWithOptions:launchOptions];
@@ -39,6 +40,14 @@ - (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:
3940
return YES;
4041
}
4142

43+
- (void)applicationDidEnterBackground:(UIApplication *)application {
44+
[SessionCookieStore persist];
45+
}
46+
47+
- (void)applicationWillTerminate:(UIApplication *)application {
48+
[SessionCookieStore persist];
49+
}
50+
4251
- (void) application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification {
4352
[MendixAppDelegate application:application didReceiveLocalNotification:notification];
4453
}

ios/Dev/AppDelegate.m

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ @implementation AppDelegate
1010
@synthesize hasHandledLaunchAppWithOptions;
1111

1212
- (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
13+
[SessionCookieStore restore];
1314
[self clearKeychain];
1415
MendixAppDelegate.delegate = self;
1516
[MendixAppDelegate application:application didFinishLaunchingWithOptions:launchOptions];
@@ -25,6 +26,14 @@ - (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:
2526
return YES;
2627
}
2728

29+
- (void)applicationDidEnterBackground:(UIApplication *)application {
30+
[SessionCookieStore persist];
31+
}
32+
33+
- (void)applicationWillTerminate:(UIApplication *)application {
34+
[SessionCookieStore persist];
35+
}
36+
2837
- (void) application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification {
2938
[MendixAppDelegate application:application didReceiveLocalNotification:notification];
3039
}

ios/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2103,17 +2103,17 @@ EXTERNAL SOURCES:
21032103

21042104
SPEC CHECKSUMS:
21052105
boost: 7e761d76ca2ce687f7cc98e698152abd03a18f90
2106-
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
2106+
DoubleConversion: cb417026b2400c8f53ae97020b2be961b59470cb
21072107
fast_float: 06eeec4fe712a76acc9376682e4808b05ce978b6
21082108
FBLazyVector: 23d8c5470c648a635893dc0956c6dbaead54b656
21092109
fmt: a40bb5bd0294ea969aaaba240a927bd33d878cdd
2110-
glog: 69ef571f3de08433d766d614c73a9838a06bf7eb
2110+
glog: eb93e2f488219332457c3c4eafd2738ddc7e80b8
21112111
hermes-engine: b2187dbe13edb0db8fcb2a93a69c1987a30d98a4
21122112
IQKeyboardManager: c8665b3396bd0b79402b4c573eac345a31c7d485
21132113
libwebp: 02b23773aedb6ff1fd38cec7a77b81414c6842a8
21142114
op-sqlite: 0d4f6014d7eb4347bff281fd4cd7970fdf111276
21152115
OpenSSL-Universal: 6082b0bf950e5636fe0d78def171184e2b3899c2
2116-
RCT-Folly: 36fe2295e44b10d831836cc0d1daec5f8abcf809
2116+
RCT-Folly: e78785aa9ba2ed998ea4151e314036f6c49e6d82
21172117
RCTDeprecation: 6ee92578d332db1d4e03267d3ae98bcf8b780863
21182118
RCTRequired: 5b3da0e0f91fddda935574b81748c3e3d3649ee7
21192119
RCTTypeSafety: 870cb072be3d3f310ecec897c3d297a931f8f7e1

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"dependencies": {
1010
"@gorhom/bottom-sheet": "^5.1.1",
11-
"@mendix/native": "9.2.0",
11+
"@mendix/native": "file:package.tgz",
1212
"@op-engineering/op-sqlite": "9.2.7",
1313
"@react-native-async-storage/async-storage": "2.0.0",
1414
"@react-native-camera-roll/camera-roll": "7.4.0",

package.tgz

1020 KB
Binary file not shown.

0 commit comments

Comments
 (0)