I'm using react-native and onesignal to handle notification.
If you press the notification when the app is in the background, i'll catch the 'opened'
event, and redirect to the correct route (in the notification metadata)
But when the app is closed, the click on the notification just opens the app, without firing the 'opened'
event.
How can i fetch the initial pressed notification metadata ?
Thanks