How to test production push notifications?

前端 未结 5 1297
南旧
南旧 2020-12-04 16:36

Until now I used development push certificate and the push notifications worked great.

Now I want to submit my app to Apple so I created a production certificate a

5条回答
  •  死守一世寂寞
    2020-12-04 17:06

    If you want to test Push Notification on production environment, you need to take care of few things:-

    1. Production push notifications can only be tested on ipa. You need to create ipa from AdHoc Distribution profile.
    2. You need to replace the Push certificate on your Push API server. APNS Distribution certificate is to be used in this case.
    3. If your API is in DOTNET then you need to change the boolean value to true.
    4. Change Code Signing Identity to distribution on both Projects and Targets

提交回复
热议问题