How to add geolocation permissions to the mobile app?

I'm using js to get device location: navigator.geolocation.getCurrentPosition(onSuccess, onError); However, it says that app doesn't have sufficient geolocation permissions. Is there a way to define them in the extensibility config?  Please don't advice to use OS Location plugin as it doesn't work on one of the required devices. 

Hi Roman,

Did you try the geolocation component? That works very well.

Swatantra Kumar wrote:

Hi Roman,

Did you try the geolocation component? That works very well.

I did try it - that's why I wrote this:
Please don't advice to use OS Location plugin as it doesn't work on one of the required devices. 


Okay, so no forge component. Let's go into detail.