Hi,
I have an issue on iOS, indeed, the onNotification callback is not called when the app is launched and it was not on background or anything, just cold start with a click on a notification.
For information, I do have PushNotification.appStart() on my root componentDidMount method. And this is working when the app is in background and I click on a notification.
[EDIT] It works if I use a
setTimeout(() => {
PushNotification.appStart();
}, 100);
on my componentDidMount (same for PushNotification.setApplicationIconBadgeNumber(0))
Hi,
I have an issue on iOS, indeed, the
onNotificationcallback is not called when the app is launched and it was not on background or anything, just cold start with a click on anotification.For information, I do have
PushNotification.appStart()on my rootcomponentDidMountmethod. And this is working when the app is in background and I click on a notification.[EDIT] It works if I use a
on my
componentDidMount(same forPushNotification.setApplicationIconBadgeNumber(0))