Skip to content

Commit 98af1e3

Browse files
committed
fix(geolocation): perm handling around wheninuse vs always
closes #386
1 parent 06b659d commit 98af1e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/geolocation/index.ios.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class LocationListenerImpl extends NSObject implements CLLocationManagerDelegate
109109
}
110110
break;
111111
case CLAuthorizationStatus.kCLAuthorizationStatusAuthorizedWhenInUse:
112-
if (this._resolve && !this.authorizeAlways) {
112+
if (this._resolve) {
113113
LocationMonitor.stopLocationMonitoring(this.id);
114114
this._resolve();
115115
}

packages/geolocation/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/geolocation",
3-
"version": "8.2.0",
3+
"version": "8.2.1-beta.0",
44
"description": "Provides API for getting and monitoring location for NativeScript app.",
55
"main": "index",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)