Start a new topic

[Android] GPS aways on

[Android] GPS aways on


Hey there

We use Wikitude in augmentedRealityMode: 'IR' only, so there is no need for geolocation. Also AR.context.services.sensors is set to false. Wikitude seems to ignore these settings and always turns on GPS. It keeps on after calling WikitudePlugin.close() and even after sending the app to background. Is there any possibility disable GPS completely?

 

TIA,

Roman

Wikitude SDK doesn't handle GPS directly, but it can use an external location provider.
If you don't need GPS positioning, you can exclude this component from your application.


In PhoneGap plugin, you can disable the default LocationProvider in WikitudePlugin.java by removing the following line:

        locationProvider.onResume();
Login or Signup to post a comment