Hi guys,
I am using OneSignal Api to send and receive notifications, but when I tap in the notification and want to redirect the user to the right post. I had all the info that I need to redirect to the post and works fine if the app is active.
.handleNotificationOpened(Actions.OneSignal.notificationOpenedCallback)
.handleNotificationReceived(Actions.OneSignal.notificationReceivedCallback)
But the problem is when the app is not active I have to set a timeout and wait to the app load and them redirect. I was wondering if there is a clean way to redirect after the app loads.
Thanks