does anyone have any advice on best practice for setting up Azure Notification Hub and APNS? More specifically, my app receives push messages in DEBUG mode. And it does this even though I have created PRODUCTION certificate for push used in the provisioning profile. But no push-message comes through when I use release or ad-hoc mode (using of course different provisioning profile, but ad-hoc provisioning profile uses same App Id as development provisioning profile). This leads me to the following questions that I hope someone have some input on.
1) Why does push messages work with APNS in DEBUG mode with PRODUCTION certificate?
2) If we need to use 2 certificates, 1 for dev and 1 for production; How do you guys set up this environment? Do we need to have 2 different Notification Hubs set up, where we duplicate the Google service and upload 2 different certificates from Apple?
3) If we don´t have to use 2 different Push certificates with Apple, but can stick to the production, do you have any clues on why it doesn´t work for my Release or Ad-Hoc version? I have tried the following;
Any help on this matter would be greatly appreciated! It has now cost me several days in troubleshooting without any luck:(