问题
We encountering a problem during the push notification send in firebase.
Currently we have done these steps:-
- We created a new app ID com.company.appname.country (without assigning it the push notification service)
- We have create a development certificate for the app id com.company.appname.country (this creating a sign key request from local keychain)
- We have create a create a sign key to create the development SSL certificate for the push notification (using the same key request created in the step 2)
- We have download and install all certificate inside the local current keychain
- We have create a development mobileprovision for the app com.bossitalia.gobooking.ch selecting all certificates avaialble
- We have create a local project with XCode selecting the development mobileproviion file and the com.bossitalia.gobooking.ch certificated created in the point 2
- After having build successfully problem relates to the notification is still present.
NB: in this configuration, Firebase application (com.company.appname.country) was configured in the "Cloud Messaging" setting tab by the SSL certificates (both for development and production - aka .p12)
Another test that we tried to do is to configure Firebase application without SSL certificates, but by adopting the current existing API key (created in the developer console).
Also in this last test, notifications seem to not work.
A final test was conduct inside Firebase > Notification tab, where in, when we set a test message for the ios device, a message error
Registration token not registered
compare on the same line of iOS device.
What's can be the problem?
来源:https://stackoverflow.com/questions/48500927/firebase-push-ios