为什么推送通知是不工作的testflight? [英] Why push notifications is not working on testflight?

查看:1328
本文介绍了为什么推送通知是不工作的testflight?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经测试推送通知作为一个开发者账户和它的工作,但是当我试图把它放在TestFlight的测试人员测试了一下,并没有表现出推送通知,但该数据被正确接收,那么,有没有一种证书,我需要生成TestFlight?


解决方案

  

但是当我试图把它放在TestFlight的测试人员测试了一下,并没有表现出推送通知,但该数据被正确接收。


这句话是混乱。如果你没有得到推送通知,被正确接收什么样的数据?

无论如何,如果我没有记错,为TestFlight您使用的是即席供应配置文件,这与推动生产环境中工作。因此,你需要一个生产推证书,以推动向通过TestFlight安装该应用程序的设备。另外,不要忘记,显影设备令牌不是生产设备令牌不同,所以一定要使用正确的标记。

I have tested push notifications as a developer account and it worked, But when i tried to put it on TestFlight for the testers to test it, it didn't show a push notification but the data is correctly received, So is there a kind of certificate that i need to generate for TestFlight?

解决方案

But when i tried to put it on TestFlight for the testers to test it, it didn't show a push notification but the data is correctly received.

That sentence is confusing. If you didn't get the push notification, what data is correctly received?

Anyway, if I recall correctly, for TestFlight you are using an AdHoc provisioning profile, which works with the production push environment. Therefore you'll need a production push certificate in order to push to devices that installed the app via TestFlight. In addition, don't forget that development device tokens are different than production device tokens, so make sure you are using the correct tokens.

这篇关于为什么推送通知是不工作的testflight?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆