Aurora push the official demo: https://github.com/jpush/jpush-hbuilder-demo which also recorded a detailed approach.
I record my own process.
First go to Aurora there to create an application to obtain AppKey, after you create as follows.
Then vue project npm run build packaged it. Inside the issue with hbuilder -> Local Package ---> generate a local resource package ---> generate an offline package.
Then go https://ask.dcloud.net.cn/article/103 inside HBUILDER download the latest SDK.
Download the demo Aurora address https://github.com/jpush/jpush-hbuilder-demo
Then import android studio inside HBuilder-Hello project, the HBuilder-Hello \ app \ src \ main \ assets \ apps inside the folder delete, and then just copy the offline package directory in the past
Aurora demo copy jpush.js above inside the www \ JS under static \ www directory
In the main folder inside the folder to /android/app/src/main/java/io.dcloud.feature.jpush main / java / under
Change your application name in strings.xml inside
In build.gradle applicationId change inside the package ID of your application.
In assets / data / dcloud_control.xml which is to change your appid
The rest of the way is the same as with the official demo