Hi everybody
I use OneSignal for push notifications.
I need to do async the notificationOpenedCallback function, because if the user open a notification, he need go to page X and if the user open the app, he need go to Homepage, but when I try to do it, all the time redirects to homepage. The function when I think do the magic is there:
window[“plugins”].OneSignal
.startInit(“XXXXXXXXXXX”, “XXXXXXXX”)
.handleNotificationOpened(notificationOpenedCallback)
.endInit();
Any idea?
Thank you very much!
Armando