Background services stop in iOS 6

We have a problem with a new app in development using Corona. We use location services and on iOS 6 it appears the pausesLocationUpdatesAutomatically is being set on build to YES by default which means when the app is in the background the location services will disable after a certain amount of time (about 20 minutes).
Taken from here http://stackoverflow.com/questions/12522004/ios-6-and-location-services-not-working

We have tried a several things to keep the background services running but being the app works fine in IOS 5, I image we need to be able to control that flag on build to require the app in the background to not put the GPS or location services to sleep.

Can we get a fix for this asap?

Thanks. [import]uid: 9046 topic_id: 32781 reply_id: 332781[/import]

Hey Richard - thank you for posting this but did you also file a bug report? If you could do so with a simple sample and give me the bug # I can bring it up in our next meeting. [import]uid: 52491 topic_id: 32781 reply_id: 130364[/import]

Hey Richard - thank you for posting this but did you also file a bug report? If you could do so with a simple sample and give me the bug # I can bring it up in our next meeting. [import]uid: 52491 topic_id: 32781 reply_id: 130364[/import]

Filing now, thanks Peach!

Rich
[import]uid: 9046 topic_id: 32781 reply_id: 130438[/import]

Filing now, thanks Peach!

Rich
[import]uid: 9046 topic_id: 32781 reply_id: 130438[/import]

Corona doesn’t officially support background services and it’s not something we test. Are you using UIBackgroundModes in build.settings to enable location services? [import]uid: 7559 topic_id: 32781 reply_id: 130562[/import]

Corona doesn’t officially support background services and it’s not something we test. Are you using UIBackgroundModes in build.settings to enable location services? [import]uid: 7559 topic_id: 32781 reply_id: 130562[/import]

Hi Tom thanks for responding,

I wasn’t aware that Corona did not officially support background services because it is mentioned a few times in the documentation for the APIs

It is enabled in the build settings file and location services is actually working fine but an inherent part of the Apple SDK for iOS 6 says that after a certain idle time the background services will stop functioning when there is no movement detected for the GPS. There is a flag you can set to force it to stay alive and that is the flag I’m referring to in the link above.

I was hoping to get the ability to set that flag when calling the background service, something that Corona will have to build into a daily build etc.

Richard [import]uid: 9046 topic_id: 32781 reply_id: 130679[/import]

Hi Tom thanks for responding,

I wasn’t aware that Corona did not officially support background services because it is mentioned a few times in the documentation for the APIs

It is enabled in the build settings file and location services is actually working fine but an inherent part of the Apple SDK for iOS 6 says that after a certain idle time the background services will stop functioning when there is no movement detected for the GPS. There is a flag you can set to force it to stay alive and that is the flag I’m referring to in the link above.

I was hoping to get the ability to set that flag when calling the background service, something that Corona will have to build into a daily build etc.

Richard [import]uid: 9046 topic_id: 32781 reply_id: 130679[/import]