If your app is opened and in the foreground, your app should receive a “notification” event. You can look at it to see if it’s a registration or notification subtype. At that point you can get the data from the event table. There won’t be a message from the OS saying you got a push. You could display your own dialog box showing you got the push.
If your app is backgrounded you will get a notification on the device. Interacting with that notification will foreground your app and you will get a notification event like above.
If your app is not in memory, you will get a notification on the device. Interacting with that notification will cold-start your app. The notification will come in via launchArgs.
If you get a notification and your app is either backgrounded or not running and you launch your app without interacting with the push notification, the notification will be lost.
This isn’t a Corona thing. It’s how push notifications work on devices.
Rob