You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 8, 2023. It is now read-only.
Calling enableLocationRequest too early does not trigger popup #77
Please, provide the following version numbers that your issue occurs with:
CLI: 3.2.1
Cross-platform modules: 3.2.0
Runtime(s): tns-ios
Plugin(s): "nativescript-geolocation": "4.1.0"
Please, tell us how to recreate the issue in as much detail as possible.
Call geolocation.enableLocationRequest() on navigatingTo causes an error Location service is disabled and does not trigger the request location access popup. Switching to a loaded event solves this.
Not sure if this just needs to be documented or if there is a fix possible.
Activity
indianazhao commentedon Oct 17, 2017
In angular, I call enableLocationRequest() from a setTimeout function in ngOnInit().