tidev / ti.playservices

Titanium module for Google Play Services
19 stars 12 forks source link

Setting priority for GPS #30

Open PietroGranati opened 4 years ago

PietroGranati commented 4 years ago

I was following Google official guide on fusedProvider but they define some parameters: https://developer.android.com/training/location/change-location-settings.html#java

Do this will happen also here?

m1ga commented 4 years ago

no, but it is part of the SDK: https://github.com/appcelerator/titanium_mobile/blob/9bcd36593d6770a36350f7ca462ecd0384f82ab1/android/modules/geolocation/src/java/ti/modules/titanium/geolocation/android/FusedLocationProvider.java#L215-L231

only the setFastestInterval parameter is not (yet) supported