04-29-2014 09:35 PM
Is there any way to listen to the app exit event in webworks?
What I would like to do is:
Pop up a warning message (told them the notification feature will be disabled) to the user when they are trying to close the app.
I saw resume, pause event in the documetn as here: https://developer.blackberry.com/html5/apis/v2_0/b
And find the on exit event for playbook, bbos : blackberry.app.event.onExit()
But didn't find any on exit listener for BB10.
Could you please provide any valuable resource or information regarding this?
Thanks for the help.
Solved! Go to Solution.
05-02-2014 12:07 AM
Unfortunately the platform as a whole does not allow you to "pause" the application termination process. Even if we hooked the event, the web runtime would be in the process of being torn down before you could do anything meaningful.
Sorry I don't have better news.