[TIMOB-10774] MobileWeb: Only send ti.geo analytics event once when user sets a ti.geolocation callback
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-06-26T22:12:17.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | api, parity |
Reporter | Chung Liu |
Assignee | Eric Merriman |
Created | 2012-09-04T20:25:18.000+0000 |
Updated | 2017-08-24T20:51:38.000+0000 |
Description
Currently, when user sets ti.geolocation, ti.geo analytics events are sent for every callback. We only care about one lat/long pair, and it's wasteful to send all ti.geo info.
Testing steps:
1. Launch a simple app with this code in production (Package in iOS/Android App store)
Ti.Geolocation.addEventListener('location', function(e) {
});
2. Drive around a little bit to trigger location change (home -> work. etc.)
3. Put app's name and GUID in this ticket so we can look up analytics events that was fired.
Mobile Web has been deprecated and will be removed in fixVersion 7.0.0.