[英]Create provisioning profile for testing push notifications
I'd like to test my push notifications feature on iOS. 我想在iOS上测试我的推送通知功能。 I'm working with DevExtreme, a framework based on phonegap. 我正在使用DevExtreme,这是一个基于phonegap的框架。
Following what I made in the past, I made the following steps: 遵循我过去所做的事情,我执行了以下步骤:
What I tried to fix the point 3 is create another certficate selecting "iOS App Development" using the same certSigningRequest as point 1. I created a provisioning profile lined to this certificate. 我试图解决第3点的问题是,使用与第1点相同的certSigningRequest选择“ iOS App Development”来创建另一个证书。我创建了与此证书对应的配置文件。 When building the template, I tried to use this file as provisioning and the certificate of point 1 as certificate, but I'm getting the error "The default keychain doesn't have an identity matching". 构建模板时,我尝试使用此文件进行配置,将点1的证书用作证书,但出现错误“默认钥匙串没有身份匹配”。
So, now I'm stuck here, because I don't know how can I test my push notifications feature on an iPhone device. 所以,现在我被困在这里,因为我不知道如何在iPhone设备上测试我的推送通知功能。 Any ideas? 有任何想法吗?
UPDATE: 更新:
Now,I'm trying to do the following: create the APN certificate and use it only for the upload to FCM. 现在,我尝试执行以下操作:创建APN证书,并将其仅用于上载到FCM。 Then, create the certificate and profile for the as usual, selecting "iOS App Development" when creating the certificate and link it to provisioning profile. 然后,照常创建证书和配置文件,在创建证书时选择“ iOS App Development”,并将其链接到配置文件。
Is my idea right? 我的想法对吗?
UPDATE : Summarized all the steps here: https://programmingistheway.wordpress.com/2017/07/19/devextremephonegap-how-to-manage-push-notifications-with-fcm/ 更新 :这里总结了所有步骤: https : //programmingistheway.wordpress.com/2017/07/19/devextremephonegap-how-to-manage-push-notifications-with-fcm/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.