Testing Production Push Notifications
Testing Push in Production
For testing production conditions, the steps are a little different.
- Edit your application's scheme in Xcode and run your application in release mode. This will mean that Apple will provide your app a production push token at runtime, and Marigold will have a valid token when communicating with with Apple.
Choosing the correct distribution profile
To deploy to your device, you'll need to be using either an Ad-Hoc or Enterprise distribution profile. Trying these steps with an App Store provisioning profile will not work, as the pushes will be rejected by Apple.
- Follow instructions to send Push to your device
Turn off development mode
If your device was previously marked as development, turn this off before proceeding.
If you received the push, test is working correctly in production.
Updated 7 months ago