简体   繁体   English

适用于企业内部APP的iOS推送通知

[英]iOS Push Notification for Enterprise In-house APP

I have been following this article to the letter : 我一直在关注这封信:

http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1 http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1

Everything works as described - right until the SimplePush test; 一切都按说明进行-直到SimplePush测试; I get this reply : 我得到这个答复:

Connected to APNS
Message successfully delivered
  • which is fine - but nothing shows up on the iPhone. 很好-但是iPhone上没有任何显示。

Some facts : 一些事实:

  • Using Enterprise Ad-hoc provisioning profile (with Push enabled) 使用企业临时设置配置文件(启用推送)
  • First start of app shows the expected : "APP" Would Like to Send You Push Notifications - Allow ? 应用的首次启动会显示预期的:“ APP”想向您发送推送通知-允许吗? - Pop-up. - 弹出。 Pressed "OK". 按下“确定”。
  • Got the deviceToken - and using this in simplepush setting. 得到了deviceToken-并在simplepush设置中使用它。
  • ck.pem is stored same place as simplepush.php and passphrase set. ck.pem与simplepush.php和密码短语集存储在同一位置。
  • Tested simplepush with all of the following : App open / App closed / App terminated 经过测试的simplepush具有以下所有功能:应用程序打开/应用程序关闭/应用程序终止

Anyone got ideas ? 有人知道吗?

Thanks, Martin 谢谢马丁

确保您不在生产环境中使用APNS沙盒,这是非常常见的错误

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM