[TIMOB-28395] Android: Use native APIs for forward/reverseGeocoder()
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-03-22T15:34:15.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 10.0.0, Release 9.3.3 |
Components | Android |
Labels | android, geocoder, gps, reversegeocoder |
Reporter | Joshua Quick |
Assignee | Gary Mathews |
Created | 2021-03-15T16:45:29.000+0000 |
Updated | 2021-03-22T15:34:15.000+0000 |
Description
The following APIs are handled by making HTTP requests to
https://api.appcelerator.com/p/v1/geo
* [Ti.Geolocation.forwardGeocoder()](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-method-forwardGeocoder)
* [Ti.Geolocation.reverseGeocoder()](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-method-reverseGeocoder)
We should change it to use the native Java [Geocoder](https://developer.android.com/reference/android/location/Geocoder) class instead.
master: https://github.com/appcelerator/titanium_mobile/pull/12580
FR Passed, waiting on Jenkins build and backport
Merged to master and 10_0_X for 10.0.0 target. Automated 9_3_X backport failed.