Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

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

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-06-26T22:12:17.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsMobileWeb
Labelsapi, parity
ReporterChung Liu
AssigneeEric Merriman
Created2012-09-04T20:25:18.000+0000
Updated2017-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.

Comments

  1. Lee Morris 2017-08-24

    Mobile Web has been deprecated and will be removed in fixVersion 7.0.0.

JSON Source