plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[Geolocation] enableLocationRequest is failing on Android

Open alexonozor opened this issue 3 years ago • 1 comments

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.

alexonozor avatar Dec 12 '22 16:12 alexonozor

Can you be more specific about this? Like what parameters you call that function with and your android OS version.

CatchABus avatar Oct 20 '23 14:10 CatchABus