Aurora push -java push messaging app

1. Aurora developer documentation: https://docs.jiguang.cn//jpush/client/Android/android_sdk/

2. Introduction: JPush phone message push the free end of the third-party cloud platform. Mobile client side, App need to integrate JPush SDK, JPush SDK to create long connection JPush Cloud, providing always-on capabilities for App. Server-side part, developers JPush REST API calls to push

3.java backend server implementation Aurora pushed implemented in two ways: https://www.cnblogs.com/V1haoge/p/6439313.html

  1) Push push Aurora official request to the API;

  2) third-party Java SDK to official

4. Note:

  1) is not recommended Rest API calls directly in the client, JPush private information and therefore easily exposed to others, and people get pushed Appkey MasterSecret information may be malicious. Recommended way: calling code JPush Rest API on the developer of the application server. Developer of the application server provides an interface to their client, developer server receives a request from a client and then transfer aurora API.

  2) using the Java SDK to achieve push mode is very simple, less the amount of code, it is not difficult to understand, adding depend directly on the maven pom file, note the version conflict jar package

5. Glossary:

  1) AppID: uniquely identifies the application
  2) AppKey: public key (corresponding to an account)
  . 3) MasterSecret: the private key (corresponding password)

Guess you like

Origin www.cnblogs.com/skj0330insn/p/12051907.html