I have a cordova app with cordova-plugin-firebasex. It works perfect on ios and android except one thing:
there are no system notifications on ios.
My app receive data messages from firebase, but I can't send a notification from firebase console to ios system notification center.
Then I created one Big APNS Button in my app to show my apns token, created archive and upload it to TestFlight.
But when I install my app on my iPhone SE - I don't see a dialog about allow push notifications. And when I press my Big APNS Button - I see a null
.
How can I solve this?
FIXED
FirebasePlugin.grantPermission(function(hasPermission){
console.log("Permission was " + (hasPermission ? "granted" : "denied"));
});