Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
fix(geolocation): perm handling around wheninuse vs always
closes #386
  • Loading branch information
NathanWalker committed Jul 10, 2023
commit 98af1e334a08fda095d2e797717879aa65de0f52
2 changes: 1 addition & 1 deletion packages/geolocation/index.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class LocationListenerImpl extends NSObject implements CLLocationManagerDelegate
}
break;
case CLAuthorizationStatus.kCLAuthorizationStatusAuthorizedWhenInUse:
if (this._resolve && !this.authorizeAlways) {
if (this._resolve) {
LocationMonitor.stopLocationMonitoring(this.id);
this._resolve();
}
Expand Down
2 changes: 1 addition & 1 deletion packages/geolocation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nativescript/geolocation",
"version": "8.2.0",
"version": "8.2.1-beta.0",
"description": "Provides API for getting and monitoring location for NativeScript app.",
"main": "index",
"typings": "index.d.ts",
Expand Down