Html5 + offline packaging to create local messages and html5 local messages

Source: Internet
Author: User

Html5 + offline packaging to create local messages and html5 local messages

Recently, when I was working on a beauty image site, I used html5 to package it into an app.

 

Package Html5 + Runtime offline by yourself. Generally, import the SDK's Hello instance and modify it. The use of push. createMessage does not work during Message notification.

First, refer to the Android platform offline packaging push plug-in configuration

Note the configuration of AndroidManifest,Replace the package name with your own package name

123456789 <receiver android:exported="true" android:name="io.dcloud.feature.apsXm.XMNotificationReceiver"><intent-filter><action android:name="android.intent.action.BOOT_COMPLETED"/><action Android: name = "% enter the APK package name %. _ CREATE_NOTIFICATION"/><action Android: name = "% Enter APK package name %. _ REMOVE_NOTIFICATION"/><action Android: name = "% enter the APK package name %. _ CLEAR_NOTIFICATION"/><action Android: name = "% Enter APK package name %. _ CLILK_NOTIFICATION"/></intent-filter></receiver>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.