Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15007] Enable retrieving location information periodically on both iOS and Android side as a background service

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterPaul Lv
AssigneeUnknown
Created2013-08-30T09:54:52.000+0000
Updated2018-02-28T20:03:16.000+0000

Description

As part of CLOUDSRV-1807, we need Titanium to provide a way on the iOS and Android side to enable a background services to retrieve device geolocation information periodically. We will need latitude, longitude, current city, current state, current country, and ZIP information provided as a callback inside a fired event, so that we can write code to update geolocation information into ACS side. Suggested Method: - Ti.LocationServices.startTracingLocation(Ti.LocationServices.TracingMethod.STANDARD) - Ti.LocationServices.startTracingLocation(Ti.LocationServices.TracingMethod.LOCATION_SIGNIFICATE_CHANGE) - Ti.LocationServices.startTracingLocation(Ti.LocationServices.TracingMethod.CUSTOMIZE, 5) // trigger callback every 5 mins - Ti.LocationServices.stopTracingLocation() - Ti.LocationServices.enabledTracingLocation() // return status Suggested Callback information: - Longitude - Latitude - City - State - Zip - Country - Timezone

Comments

No comments

JSON Source