Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10773] iOS: Only send ti.geo analytics event once when user sets a ti.geolocation callback

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-10-09T03:39:58.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, Sprint 2012-20 API, 2012 Sprint 20
ComponentsiOS
Labelsapi, look1, parity
ReporterChung Liu
AssigneeSabil Rahim
Created2012-09-04T20:24:10.000+0000
Updated2017-03-17T18:49:57.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.

Comments

  1. Sabil Rahim 2012-10-08

    PR pending https://github.com/appcelerator/titanium_mobile/pull/3127
  2. Lee Morris 2017-03-17

    Closing ticket as fixed.

JSON Source