plugins
plugins copied to clipboard
[Geolocation] enableLocationRequest is failing on Android
It sounds like enableLocationRequest() is making basic permission requests but needs to allow the fine-grain perms as options if you need them.
if you end up getting this bellow error during the request for permission
JS: ERROR Error: java. lang.SecurityException: my location requires permission ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION for now we might need to use the https://github.com/nativescript-community/perms plugin to request permission on Andriod until it is fixed.
We need to fix this or add this note to the Readme.
Can you be more specific about this? Like what parameters you call that function with and your android OS version.