Reputation: 4429
I have followed the steps in this tutorial and have managed to send notifications to my Cordova app.
When I tried to replicate the steps using the production certificate instead, it did not work, so I have two questions:
1) What would I need to do differently in order for it to work?
2) Could I use the development certificate on production? Any restrictions?
Upvotes: 0
Views: 484
Reputation: 124
development certificate can't use to production , it will invalid. Distinguish development or production is use debug or release model .
[Xcode] --> [product] --> [scheme] --> [edit scheme]
eg:
Confirmation switch has been opened in developer websit or xcode .
eg:
and
Upvotes: 1
Reputation: 3693
Build your app using an Ad Hoc provisioning profile in order to test push in a production environment. An app build using an App Store or Ad Hoc profile will use APNS production, while an app build using a Development profile will use the sandbox APNS.
Upvotes: 1
Reputation: 33
instant choosing Apple Push Notification service SSL (Sandbox).you may choose it apple push notification service ssl (sandbox & production).It will make single pem file for both production and sendbox
if you are using third party for push upload it and test.If you are not then set your app environment production in your server side code and it will work!
Upvotes: 0