简体   繁体   中英

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

Everything works as described - right until the SimplePush test; I get this reply :

Connected to APNS
Message successfully delivered
  • which is fine - but nothing shows up on the 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 ? - Pop-up. Pressed "OK".
  • Got the deviceToken - and using this in simplepush setting.
  • ck.pem is stored same place as simplepush.php and passphrase set.
  • Tested simplepush with all of the following : App open / App closed / App terminated

Anyone got ideas ?

Thanks, Martin

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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