I develop an app with push notification on IOS.
I load push on load in my first page : index.html with PushNotification.init().
I want to test my push on another page, then I call PushNoticiation.hasPermission() on my notifications.html page. But in notifications.html page script stop with this call. I think plugin is not load but I test with this code without solution :
Hi,
I develop an app with push notification on IOS. I load push on load in my first page : index.html with PushNotification.init().
I want to test my push on another page, then I call PushNoticiation.hasPermission() on my notifications.html page. But in notifications.html page script stop with this call. I think plugin is not load but I test with this code without solution :
and with :
Do you have an idea ?
Thank.