[TIMOB-28396] iOS: Use native APIs for forward/reverseGeocoder()
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-04-05T15:02:17.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 10.0.0, Release 9.3.3 |
Components | iOS |
Labels | geocoder, gps, ios, reversegeocoder |
Reporter | Joshua Quick |
Assignee | Vijay Singh |
Created | 2021-03-15T16:49:38.000+0000 |
Updated | 2021-04-05T15:02:17.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 [CLGeocoder ](https://developer.apple.com/documentation/corelocation/clgeocoder?language=objc) class instead.
Can I help here?
PR - https://github.com/appcelerator/titanium_mobile/pull/12581
merged to master and 10_0_X for 10.0.0 target. Automated backport to 9_3_X failed and would likely need to be done manually (as that branch does not have native Promise support in Obj-C)
PR(9_3_X) - https://github.com/appcelerator/titanium_mobile/pull/12651
FR Passed.
9_3_X backport merged