[TIMOB-2753] iOS: Background Geolocation
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-06-26T23:40:57.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | look1 |
Reporter | Rick Blalock |
Assignee | Rick Blalock |
Created | 2011-04-15T03:28:35.000+0000 |
Updated | 2017-03-20T16:59:17.000+0000 |
Description
This is basically the same ticket as: https://appcelerator.lighthouseapp.com/projects/32238/tickets/1930-allow-geolocation-in-background"> https://appcelerator.lighthouseapp.com/projects/32238/tickets/1930-... for Android
"Currently (even in the current github sources) Geolocation cannot do background processing. Is this a matter of removing the instructions from the onPause()/onResume() routines? I think allowing a user to specify allowBackGround: true in their initial construction of a Geolocation object would be wise. This way, we can still do background processing and not have to worry about the app losing focus, and data being randomly sent askew."
Customer(s) ticket: http://developer.appcelerator.com/helpdesk/view/57011">http://developer.appcelerator.com/helpdesk/view/57011
We have another interested customer.
Additional Helpdesk Ticket
http://developer.appcelerator.com/helpdesk/view/51601">http://developer.appcelerator.com/helpdesk/view/51601
Also see my ticket requesting the same think here http://developer.appcelerator.com/helpdesk/view/51601">http://developer.appcelerator.com/helpdesk/view/51601
I am also very interested in this feature.
Looks like Android is getting this feature, any timeline around when this will be supported on iOS?
I have the same problem with this function on iOS. After 15min the app doesn't update the geoposition.
Also change the priority to high . This function is very important for a lot app. The clients ask for geoposition in their applications. !
This is a feature that I need ASAP. I am working on a project that I need to have working by April 2nd (yes, of 2011) to meet my customers needs.
Associated Helpdesk Ticket
http://developer.appcelerator.com/helpdesk/view/71891#c341821">http://developer.appcelerator.com/helpdesk/view/71891#c341821
another customer requesting this feature
Associated Helpdesk Ticket
http://developer.appcelerator.com/helpdesk/view/73191">http://developer.appcelerator.com/helpdesk/view/73191
Associated Helpdesk Ticket
http://developer.appcelerator.com/helpdesk/view/73071">http://developer.appcelerator.com/helpdesk/view/73071
Hi there,
but actually on iOs i've already did it with ti sdk 1.5.2 and all works properly.
The geolocation still working and at the resume event i just need time to load the updated map. What i can't do it to send the information while the app is in background.
I've just make a small modification the info.plist.
I'm missing something ?
Andrea
This doesn't work for me using 1.6.1 and iOS 4.3. I attach a listener on location and go walk around watching the points update (I'm just adding them to a textarea whenever the event fires). This works perfectly when the app is on. If I put the app in the background it works well too. If I have the app in the foreground and then I lock the screen on my iPhone then the event stops firing until I unlock the screen again. I've added location to backgroundModes in tiapp.xml and made sure that the generated info.plist has UIBackgroundModes containing location correctly.
Does this really work for others?
Associated Helpdesk Ticket
http://appc.me/c/APP-857723Reassigning this popular ticket, due to Reggie's absence.
tiapp.xml
supports the following setting, [documented here](http://docs.appcelerator.com/titanium/2.0/index.html#!/guide/tiapp.xml_and_timodule.xml_Reference):This should enable geolocation updates for background services. If this works please comment on the ticket so we may mark it INVALID.
Yeh this is implemented now.
Closing ticket as fixed.