Notifications are not arriving on iOS (App Store version) since update 2.3.0
Opened this issue ยท 10 comments
๐ ๐ โฌ๏ธ
Hi everyone,
We are working on an Ionic project and we are using this plugin. The plugin and the notifications had been working perfectly until we updated to 2.3.0 version.
In one point, we had to update to 2.3.0 version because of iOS 13. In that iOS update, the token changed to something like this: {length=32,bytes=....}. Whit the 2.3.0 version that problem was fixed. However, another problem appeared.
Now, the plugin and the notifications are working perfectly in Android (development and production version) and iOS (BUT ONLY IN DEVELOPMENT VERSION).
Currently, the notifications are not arriving in the iOS App Store version. We already tried everything. Also, we checked all the certificates, identifiers and profiles, but all seems to be perfect (photos attached).
I hope all of you could help us. All options are welcome.
Regards.
NOTE: There is no problem with the server. Notifications are being sent correctly.
Expected Behaviour
Notifications arriving on iOS App Store version
Actual Behaviour
Notifications are not arriving on iOS (App Store version)
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
iOS 13.2.2
Cordova CLI version and cordova platform version
cordova --version 8.0.0
cordova platform version ios 5.0.1
Plugin version
cordova plugin version | grep phonegap-plugin-push 2.3.0
Certificates, identifiers and profiles screenshots
I have a setting in azure notification hub that allows me to switch between sandbox and prod version. Maybe in your notification hub it is switched to sandbox (unsigned)?
Hi rychter. We already checked the server side and all is correctly. The weird aspect is that the notifications were working perfectly with the older plugin version.
Not work for me too.
Don't know what is the problem, I didn't changed anything, just rebuilt app.
Previously push notifications worked on ios and android, now only on android.
Tested 2.2.3 on iOS 13, I can see a popup window: would like to send you notifications with 2 buttons "Do not Allow" and "Allow" when the app is installed and running for first time.
But on 2.3.0, there is no popup.
I recreated certificate, provisioning profile and APNS key - and is start working.
Hi @zdm thank you very much for your update. Did you receive a popup window when the app is installed an opened for the first time: "Would you like the app to send you notifications? 2 buttons and "
@judari any update of this ? we have the same problem and we didn't find a solution yet, we generate new certificates and provisioning profile ... and we use gateway.push.apple.com:2195 but it's not working :(
Hi everyone,
Yes, we managed to solve it. The problem was that we were creating the certificate using the add certificate option (see picture 1) and then we linked it to the identifier. This is not the way to do it, this can generate the issue that is in this blog. The correct way to generate the certificate is doing it from the identifier using the "Create Certificate" option (see picture 2 and 3). I hope this solution helps you.
Regards
This thread has been automatically locked.