"RateApp" popup's callback

Hi everyone,

I wanted to ask something about one of the native popups supported by Corona. In the native.showPopup doc, it’s said “If a popup supports listeners (and you pass a listener via options.listener), then those listeners are dispatched popup events

Does that concern the “rateApp” popup ? I’m just trying to catch the moment when the user comes back to my app after being directed to the store by this popup, but it doesn’t work. It seems like the rateApp popup doesn’t call the listener passed in parameters, so… is that normal ? And if it doesn’t, will it change ?

Thanks in advance for the answers !

The “rateApp” dialog will suspend your app to the background, and it’s not possible for popup listeners to extend beyond the termination of the app’s execution.

If you want to catch the moment when the user comes back, you’ll need to add Runtime:addEventListener(“system”, onSystemEvent) to your code and listen for the “applicationResume” event.

The “rateApp” dialog will suspend your app to the background, and it’s not possible for popup listeners to extend beyond the termination of the app’s execution.

If you want to catch the moment when the user comes back, you’ll need to add Runtime:addEventListener(“system”, onSystemEvent) to your code and listen for the “applicationResume” event.