Yes but that only tells me if I’ve launched the app from a push notification. not resumed the app. the hard part is telling if i’ve resumed the app from a push notification.
On iOS i check that I’ve received a notification in an inactive state like this:
if systemState == "applicationSuspend" or systemState == "inactive" then lastEventData = event.custom end
But on android the systemState will be applicationResume which makes it impossible to tell if I resumed the app through a push notification or by manually going to it.
I think on android the “system” event listener is called before the “notification” event listener but on iOS its the other way around. cant find a way to accurately tell if I was an inactive state when I got my notification