From a1026b56262bebb2a74bd284905d27583e622f79 Mon Sep 17 00:00:00 2001 From: zaferatli Date: Wed, 18 Feb 2026 09:06:17 +0300 Subject: [PATCH 1/2] v2.8.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a13c6b6..8b250a7 100644 --- a/package.json +++ b/package.json @@ -62,6 +62,6 @@ "ts-check": "npx tsc jailmonkey.d.ts --noEmit" }, "typings": "./jailmonkey.d.ts", - "version": "2.8.4", + "version": "2.8.5", "packageManager": "yarn@1.22.22" } From 3074a44c361bf82db74e0aa2cd066c9aaf33c929 Mon Sep 17 00:00:00 2001 From: zaferatli Date: Wed, 18 Feb 2026 10:10:28 +0300 Subject: [PATCH 2/2] feat: ios mock location control added --- JailMonkey/JailMonkey.m | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/JailMonkey/JailMonkey.m b/JailMonkey/JailMonkey.m index 9404ea6..686bc7f 100644 --- a/JailMonkey/JailMonkey.m +++ b/JailMonkey/JailMonkey.m @@ -317,6 +317,18 @@ - (BOOL)canMockLocation{ return YES; #endif + if (@available(iOS 15.0, *)) { + CLLocationManager *locationManager = [[CLLocationManager alloc] init]; + CLLocation *location = locationManager.location; + + if (location.sourceInformation != nil) { + if (location.sourceInformation.isSimulatedBySoftware || + location.sourceInformation.isProducedByAccessory) { + return YES; + } + } + } + return [self isJailBroken]; }