I try to use Adhoc push notification service for my app, But its not working. When i tested with the development APNs certificate its working perfect. I Followed same steps for Adhoc APNs as development APNs.
- I know that development and adhoc tokens are different for same device.
- I used both
ssl://gateway.push.apple.com:2196
,ssl://gateway.push.apple.com:2195
but still no use. For developmentssl://gateway.sandbox.push.apple.com:2195
. I also updated provisional profile after enabling push notification service in developer account for Adhoc profile. When i open the Profile i can see these lines
< key>aps-environment < string>production < key >get-task-allow
I also updated provisional profile in
XCode 5.1
and generated .IPA file using correct Adhoc Provisional Profile.- I used same server PHP code which is sending notification for development devices. Changing the token to adhoc device token.
- Am using
https://www.testflightapp.com
for uploading adhoc app for testing for clients.
What am making mistake here.
Release
) using the Ad Hoc profile you mentioned? – Rich