Skip to main content
Participant
June 3, 2013
Question

Apple Push, works in Ad-Hoc, not in Store version?

  • June 3, 2013
  • 1 reply
  • 966 views

Hey all,

Perhaps I should have posted here about it rather than in the Flash forum but is there any difference between using Apple Push between production Ad-hoc and the Store? The flash forum post is here with a little more verbose info: http://forums.adobe.com/message/5374867#5374867

I have 2 sets of production certs. I use one for developing an ad-hoc for testing and another for the store. APS is enabled for production on both. I use PushWoosh to send push messages (just badges in this case). The push works perfectly on the ad-hoc production but after successful submission to the store the push is disabled.

On the ad-hoc, when installing and run it prompts the user for permission to accept notifications. On the store version you never get prompted, no subscribers appear in PushWoosh, etc.

I did open the IPA submitted and verified the mobileprovision had the aps-environment set to production. The embedded AIR application.xml also asked for the same thing.

Is there something I'm missing that's different between ad-hoc and using APS versus Store?

Just to add, I was certain to use the correct app ID for the store version inside my register request for PushWoosh. PushWoosh had no issue with my APS .cer/.p12. I made sure the store version used that PushWoosh application id. Even if PushWoosh wasn't set up correctly (I verified this) the mere existence of the aps-environment entitlement set to production should pop up a dialog requesting notification support. 

Thanks for any tips!

This topic has been closed for replies.

1 reply

mcwebblesAuthor
Participant
June 4, 2013

Shameless bump, hasn't anyone used push on the store? Anything needed beyond:

- Non-wildcard app ID

- APS enabled on app ID

- APS cert downloaded, .p12 created

- Production mobileprovision dirtied, redownloaded

- App XML updated with aps-environment set to production

- Integrate APS certs with your push provider (pushwoosh for me, accepted certs)

- Configure anything inside your app that your provider needs (registering a specific PW app ID based on a unique ID)

- Export for Store (Exporting for Ad-hoc in this manner works just fine)

Am I missing anything for the Store?

Mark.fromOP
Inspiring
June 7, 2013

Wild guess but since the developer and distribution certificates are 2 different files as well as the provisioning profiles, perhaps you enabled notifications on one and not the other? Apple makes you do everything twice so perhaps you didn't check a box or didnt redownload/convert the newest certs/pp after creating them?