Firebase + Push + iOS

删除回忆录丶 提交于 2019-12-11 08:53:54

问题


We encountering a problem during the push notification send in firebase.

Currently we have done these steps:-

  1. We created a new app ID com.company.appname.country (without assigning it the push notification service)
  2. We have create a development certificate for the app id com.company.appname.country (this creating a sign key request from local keychain)
  3. 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)
  4. We have download and install all certificate inside the local current keychain
  5. We have create a development mobileprovision for the app com.bossitalia.gobooking.ch selecting all certificates avaialble
  6. 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
  7. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!