Example of successful uniapp Jiguang push plug-in access Click the message in the notification bar to pass the specified parameters and jump to the specified page of the application

1. First create a uniapp project and generate an Android signature

The purpose is to get the Android application package name and package the custom base.
It will not generate an Android signature. You can read this article https://blog.csdn.net/DarlingYL/article/details/114525485?spm=1001.2014.3001.5502

2. Download the import plugin (free of charge)

1. Aurora JPush official SDK
2. Aurora JCore official SDK
insert image description here
insert image description here
insert image description here
just follow the prompts

3. Create an application on the Jiguang Push official website

First register an account, and then create an app
Jiguang Push-Create an App Tutorial
After the creation is complete, you can get the AppKey, (the package name cannot be changed, please pay attention when creating it!!)
insert image description here

Four, manifest.json file configuration

insert image description here
insert image description here
After selecting the plug-in, the following configuration items will appear
insert image description here

5. Package with a custom base

insert image description here
insert image description here

6. Create a push message

insert image description here
insert image description here
You can preview after entering the copy

insert image description here
insert image description here

Seven, code warehouse

https://github.com/ww-yy-ll/uniapp-JGPushDemo.git

It's done here.

Guess you like

Origin blog.csdn.net/DarlingYL/article/details/125675701