Start a new topic

Asking Geolocation permission on from Javascript

Hello I am trying to build an app using Javascript SDK and I have requested FINE_LOCATION on the App activity and the POIs are displaying fine. BUT when I try to use navigate.geolocation.getCurrentPosition.... It gives me "User denied geolocation". How can I enabled geolocation?

1 Comment


navigate.geolocation.getCurrentPosition is a function of React Native, not of the Wikitude SDK. We do not provide support for this framework, we simply host a third-party implementation on our website. You will have to seek help regarding this issue with either the maintainer of the React Native implementation of the Wikitude SDK or the respective React Native support channels directly.

Since the POIs are working fine, the Wikitude SDK is working as expected. 

- Daniel

Login or Signup to post a comment