This is a migrated thread and some comments may be shown as answers.

iOS disable multi-tasking

2 Answers 72 Views
Apple iOS
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mathias
Top achievements
Rank 1
Mathias asked on 07 May 2013, 01:57 PM
I'm building an iPhone app which uses the Cordova geolocation functionality. In particular I'm using the watchPosition to continously track the device's position which works quite well. The problem I've encountered is when the app is paused, e.g. when the "Lock"-button is pressed. This causes the tracking to stop. 

When reading through Cordova's docs I found this: "Under iOS 5, if you want your app to still run when the device is locked, you will have to disable multi-tasking (UIApplicationExitsOnSuspend - YES) for your app."

http://docs.phonegap.com/en/2.4.0/cordova_events_events.md.html#pause

Is this setting possible to change in Icenium? 

Thanks in advance


2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 07 May 2013, 02:56 PM
Hello Mathias,

There is an option for iOS in the Info.plist that you can specify and declare that your app needs to receive location change notifications in the background. We would expose the background settings for iOS in our upcoming release scheduled for this week.

The other iOS dependent setting you mention is not exposed and has to be manually added to the Info.plist, which Icenium currently does not expose for direct editing. We plan to expose this configuration file in one of our next updates of the product. For the time being, you can download the .ipa file generated from the Icenium build and following the instructions in this stackoverflow thread, re-sign the application after you manually modify the Info.plist.

All the best,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
Steve
Telerik team
answered on 05 Jul 2013, 03:13 PM
Hello Mathias,

This is just a follow uo to let you know we've added background modes (including location) for iOS in Icenium 1.5 and they can be set through the project properties.
What's more since v.1.6 we've given you full control by adding the ability to make configuration changes to your app by modifying the respective Info.plist and config.xml for iOS and AndroidManifest.xml and config.xml for Android directly in the Icenium code editor. For more information, see Edit Configuration Files.

Thank you for trying out Icenium!

Regards,
Steve
Telerik

Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.
Tags
Apple iOS
Asked by
Mathias
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or