简体   繁体   English

当我仍在测试我的应用程序时,带有Production-SSL证书的推送通知将起作用吗? 我怎么知道它会起作用?

[英]will push notifications with Production-SSL certificate work when I'm still testing my app? How can I know it will work?

My push notifications are working fine with the sandbox model. 我的推送通知在沙盒模型中运行良好。 I just verified that the production ssl certificate is working both with direct SSL-connection and with AWS SNS. 我刚刚验证了生产ssl证书可用于直接SSL连接和AWS SNS。 However, my device is still producing the same push token as it produced for the sandbox, and this token is not working for production-level push notifications (rejected as invalid token by Apple server). 但是,我的设备仍在生成与为沙箱生成的推送令牌相同的推送令牌,并且此令牌不适用于生产级推送通知(Apple服务器拒绝为无效令牌)。 Is it supposed to work? 它应该工作吗? How can I make sure push notifications are working/will work for users who download the app from the app store? 我如何确保推送通知有效/将适用于从应用程序商店下载应用程序的用户?

Create a provisioning profile for "Ad Hoc" distribution, using your production certificate. 使用您的生产证书为“临时”分发创建配置文件。 Sign your app with that and install. 签署您的应用并安装。 Make sure your SSL connection to APNS knows which certificate to use, depending on whether client is production or dev. 确保与APNS的SSL连接知道要使用哪个证书,具体取决于客户端是生产人员还是开发人员。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何调试应用的生产证书以获取推送通知 - How can I debug my app's production certificate for push notifications 当我切换到生产证书时,Trigger.io和解析推送通知不起作用 - Trigger.io & Parse push notifications don't work when I switch to production certificate 如何在iOS的制作中使推送通知正常工作? - How do I make push notifications work in production for iOS? 我的SSL证书过期后,ASIFormDataRequest仍然可以工作吗? - Will ASIFormDataRequest still work when my SSL certificate expires? 我的 Apple 推送服务不起作用……我已经创建了一个新服务,但仍然没有收到通知。 有谁知道会发生什么? - my Apple push Service doesn't work ... I already created a new one and I still don't receive notifications. Does anyone know what could be happening? 推送通知是为了开发而不是生产而工作 - Push notifications work for development, not production 如果更新推送通知证书,推送通知是否可以在我的旧应用程序上运行? - Will push notification work on my old app if I update push notification certificate? 如何让我的调试应用程序版本在iOS上接收生产推送通知? - How do I make my debug app version receive production push notifications on iOS? 当我使用我的应用程序时如何关闭其他应用程序的推送通知 - How can I turn off push notifications of other apps when Im using my app 我的应用中的“推送通知”在iPhone 6s上停止工作,但在iPad上仍然工作 - Push Notifications from my app stopped working on iPhone 6s but still work on iPad
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM