Request Description
While using the Titanium.Geolocation.Android manual mode, only one provider is registered at the time. If the application is facing these scenarios:
* If the application isn't getting updates frequently enough, it can adjust its provider settings to provide more updates, or relax its location rules to allow less accurate updates through.
* If the application isn't receiving accurate enough updates from one provider, it can add another provider to try to improve results.
* If the application is getting sufficiently accurate results from the network provider, it can disable the GPS provider to save power.
Customer's remarks
That would require a lot of additional logic for android only to have it switch between them during the scenarios outlined previously.
Would it be possible that we be able to configure the android location update settings to use GPS, NETWORK, or PASSIVE so that we can just configure the updateDistance and time for the location updates.
That would bring this into close parity with the iOS implementation.
Titanium Docs
http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Geolocation.Android
Related notes: http://developer.android.com/guide/topics/location/strategies.html
1. Run code and observe frequency of Geo events fired using simple mode. master PR: https://github.com/appcelerator/titanium_mobile/pull/6503
Verified the new implementation. Environment: Appc Studio : 4.0.0.201504081125 Ti SDK : 4.0.0.v20150408131013 CLI : 4.0.0-beta5 Alloy : 1.6.0-beta2 MAC Yosemite : 10.10.2 Appc CLI environment : preprod Appc npm : 0.3.39 Appc CLI : 0.2.235