User action that bring app in foreground


#1

Hi all,
any app can be brought in foreground for many reasons, at least I’m interested in two: 1) the user tap on the app icon; 2) the user tap on a push notification received for the app

I subscribed the platform.resume() event and checked what data is passed in both cases: I found it is an Event object but apparently it hasn’t any field that can help me to identify in which case the app is.

Does anyone have a suggestion for this?

Thanks!