Description for the selection of push environment

Last updated: 2020-02-16 18:59:25

PDF

When the console pushes a message, there are two environments to choose from to test the push message.

Development Environment You need to make sure that App has been packaged with the signing certificate of the development environment, using the Xcode Compile and install directly to Device.
Production environment You need to make sure that the App has been packaged with the signature certificate of the production environment. The App of the production environment can be packaged in the following three ways: Ad-Hoc TestFlight AppStore .

Server specifies push environment

When you use the RESTAPI When you push a message, you need to use the PushAPI Specified in environment Field, which has two optional values product and dev .

Development Environment : need to specify environment For dev .
Production environment : need to specify environment For product .

Push Certificates Description

In the management console, you need to upload the two-in-one push certificate (Apple Push Notification service SSL (Sandbox & Production)) of the development environment and the production environment. This certificate can be pushed to the production environment and development environment, and can be selected according to the signature certificate actually used by App. The selected method is referred to above.

  • App signature certificate, which is divided into development environment (corresponding to xxx Developer:xxx The signature certificate of the word) and the production environment (corresponding to xxx Distribution:xxx The signature certificate of the word), please choose according to the actual situation.
  • The App push certificate is a merged certificate, which is compatible with the development environment and the production environment.