This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 77
iOS 9+ Location Request does nothing #6
Comments
I think this is the culprit: https://github.com/NativeScript/nativescript-geolocation/blob/master/source/nativescript-geolocation.ios.ts#L169 which is only checking for version 8 and not version 9. If you change that to also check for 9 or check for > 8, then you should be good. |
Hi Brainvise, hummmm that's exactly what i explained in my comment :) Rgds |
Oh sorry. Need to take the time to read. |
no pb :) |
Closed with commit #9 |
Can't seem to get iOS 10 to ask for location permission. Android asks on location function run. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
enableLocationRequest function does nothing when called on iOS 9+.
As i'm a NativeScript beginner, i've spent multiple hours to understand where the problem was.
I've found it and is located in the following js file:
node_modules/nativescript-geolocation/nativescript-geolocation.ios.js
The Os Version test doesn't permit to match iOS 9+.
It can be corrected by something like the following:
Regards
Stéphane
The text was updated successfully, but these errors were encountered: