Background Task

Hello there,

just a quick question! 

Is it possible to make some small tasks (like gathering GPS information once per day) that will run in the background (when home button is pressed)

Thanks

M++

I’m currently digging for this :slight_smile: it seems Corona Enterprise is needed to compile with special options to keep the app running in the background.

https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html#//apple_ref/doc/uid/TP40007072-CH4-SW20

Hi, thanks for the qiuck reply

does the same apply for android devices?

Corona SDK does not officially support the iOS Backgrounding modes.  Some people have success with them, but we may change things in the future that make break this without warning.

On the Android side, it doesn’t work period.  We don’t work backgrounded on Android.  There may be some Enterprise options since you’re actually building a native app.

Rob

I’m currently digging for this :slight_smile: it seems Corona Enterprise is needed to compile with special options to keep the app running in the background.

https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html#//apple_ref/doc/uid/TP40007072-CH4-SW20

Hi, thanks for the qiuck reply

does the same apply for android devices?

Corona SDK does not officially support the iOS Backgrounding modes.  Some people have success with them, but we may change things in the future that make break this without warning.

On the Android side, it doesn’t work period.  We don’t work backgrounded on Android.  There may be some Enterprise options since you’re actually building a native app.

Rob