applicationWillResignActive should not be exclusive for corona enterprise

Here is my suggestion

the application states like applicationWillResignActive is so basic and every game needs it so it should not be exclusive for corona enterprise

http://docs.coronalabs.com/native/enterprise/ios/CoronaDelegate.html

I am having a really big problem since I needed to hide something in my game before suspension and unfortunately corona dos not have this functionality

the states we have right now are
“applicationStart”
“applicationExit”
“applicationSuspend”
“applicationResume”

and the states I believe we really need
are
WillResignActive
DidBecomeActive

I am trying to show the pause screen when the player presses the home button twice,however this is impossible with Corona SDK as far as I am concerned
I asked about this issue here
http://developer.coronalabs.com/forum/2012/11/11/how-hide-group-if-application-suspended
and here
http://stackoverflow.com/questions/13327930/in-corona-sdk-how-to-hide-a-group-if-application-suspended

and so far it seems this is not possible with CoronaSDK

please Coronalabs at least add these two states WillResignActive and DidBecomeActive

I am giving you this suggestion because I knew you do care about your customers and this is one of the reasons why I love CoronaLabs

best regards
[import]uid: 8519 topic_id: 32939 reply_id: 332939[/import]

I will bring this up in our next meeting and try to get some feedback for you.

Peach :slight_smile: [import]uid: 52491 topic_id: 32939 reply_id: 130853[/import]

I will bring this up in our next meeting and try to get some feedback for you.

Peach :slight_smile: [import]uid: 52491 topic_id: 32939 reply_id: 130853[/import]

Thank you very much :), I will be waiting…
best regards :slight_smile: [import]uid: 8519 topic_id: 32939 reply_id: 130954[/import]

Thank you very much :), I will be waiting…
best regards :slight_smile: [import]uid: 8519 topic_id: 32939 reply_id: 130954[/import]

Dear Peach,

any good news :-)?

Thanks in advance [import]uid: 8519 topic_id: 32939 reply_id: 131877[/import]

Dear Peach,

any good news :-)?

Thanks in advance [import]uid: 8519 topic_id: 32939 reply_id: 131877[/import]

No news currently but I have passed this on, for now that’s all I can do - with the stable this week obviously things are a little mad, but we will see what happens. [import]uid: 52491 topic_id: 32939 reply_id: 131979[/import]

On the other thread for this, I asked about a couple ways to workaround your problem, and 2 of the ways they said might work…

  • During the suspend event, creating a native field to cover over your graphics – native fields are rendered outside of openGl, he said it could possibly work.

  • local Notification – during suspend, the app could send itself a local notification (for 1 second later), that hides the existing graphics. The corona guy said that might work, but he didn’t know enough about local notifications.

If you don’t want to wait, you could try both of those some afternoon, see if they get you over, around or through the issue… [import]uid: 79933 topic_id: 32939 reply_id: 131983[/import]

No news currently but I have passed this on, for now that’s all I can do - with the stable this week obviously things are a little mad, but we will see what happens. [import]uid: 52491 topic_id: 32939 reply_id: 131979[/import]

On the other thread for this, I asked about a couple ways to workaround your problem, and 2 of the ways they said might work…

  • During the suspend event, creating a native field to cover over your graphics – native fields are rendered outside of openGl, he said it could possibly work.

  • local Notification – during suspend, the app could send itself a local notification (for 1 second later), that hides the existing graphics. The corona guy said that might work, but he didn’t know enough about local notifications.

If you don’t want to wait, you could try both of those some afternoon, see if they get you over, around or through the issue… [import]uid: 79933 topic_id: 32939 reply_id: 131983[/import]