Not getting ApplicationSuspend and ApplicationResume events from Corona 631 on iOS 4 or 5

Hi all,

We noticed that using build 631, we are no longer receiving the “applicationSuspend” or “applicationResume” events on iOS 4 or iOS 5 and this even happens on the simulator.

I know there have been some bug fixes in the recent Corona builds for application suspend/resume for audio streaming. We were wondering if these changes may have caused this.

Do we need to add something to build.settings to get these OS events?
Or did the recent changes in 630 or 631 disable getting the events.

Does anyone else see this behavior using 631?
[import]uid: 10741 topic_id: 16042 reply_id: 316042[/import]

This was probably the local notifications feature that broke these events. Would you please submit a bug report with a simple test case so we don’t lose track of this?

[import]uid: 7563 topic_id: 16042 reply_id: 59578[/import]

Bug # 8525 is filed. It has a test-case with it. [import]uid: 10741 topic_id: 16042 reply_id: 59580[/import]

Hi, I was wondering if there was any update or timeframe on this bug being fixed.

We would very much appreciate this if this bug could be fixed very soon so we can re-build our apps for iOS 5 launch.

Thanks [import]uid: 10741 topic_id: 16042 reply_id: 60186[/import]

I just build the SystemEvents sample app and ran it in the Mac Corona simulator and on a iPad2 and system events are working fine with build 631.

Please try the sample app and see if it still works. [import]uid: 7559 topic_id: 16042 reply_id: 60220[/import]

@calvinlow

I am using “applicationSuspend” and “applicationResume” in our game and it is working. Both on corona simulator and the devices (4.3.5), using build 2011.632

Also tested “system events” sample on xcode simulator and it was also working ok here…

Could it be something (or missing) in your code?

Do you have following in your build.settings?

[lua]iphone =
{
plist =
{
UIStatusBarHidden = true,
UIApplicationExitsOnSuspend = false,
},
},[/lua]
[import]uid: 10478 topic_id: 16042 reply_id: 60224[/import]

Hi all,

Sorry for the false alarm, I think the code had a typo.

We were directly listening for an event “applicationResume” instead of listening for system and event.type == “applicationResume”

Go ahead and close this bug.

[import]uid: 10741 topic_id: 16042 reply_id: 60243[/import]