开发者

Push Notifications working with iPhone development provisioning profile?

开发者 https://www.devze.com 2023-01-11 02:36 出处:网络
I have 开发者_开发知识库my development app installed on my iPhone with the development provisioning profile. Do push notifications work with the development provisioning profile, or only on distributi

I have 开发者_开发知识库my development app installed on my iPhone with the development provisioning profile. Do push notifications work with the development provisioning profile, or only on distribution?

I'm curious because push notifications are working just fine on distribution, but not with the development app.

Thanks!


Push notification will work only if the provisioning profile contains the key aps-environment (the value is either production or development). The team provisioning profile (with the wildcard) can't be used with push notifications, therefore will not contain the aps-environment key/value entry. See Apple documentation that explains creating the necessary certificates.


Should work with the devel profile. There's a sandbox service. (See http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingWIthAPS/CommunicatingWIthAPS.html)

0

精彩评论

暂无评论...
验证码 换一张
取 消