GithubHelp home page GithubHelp logo

fugary / cordova-plugin-jpush-custom Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10 KB

处理jpush-phonegap-plugin厂商通道没有jpush.receiveNotification或者jpush.openNotification问题

License: Apache License 2.0

Java 78.69% JavaScript 21.31%

cordova-plugin-jpush-custom's Introduction

cordova-plugin-jpush-custom

处理jpush-phonegap-pluginAndroid厂商通道没有触发jpush.receiveNotification或者jpush.openNotification问题

依赖jpush-phonegap-plugin ,因此需要先安装jpush-phonegap-plugin,并配置好极光厂商通道。

使用方法如下

首先安装

cordova plugin add https://github.com/fugary/cordova-plugin-jpush-custom.git

然后使用,需要在JPush.init()JPush相关代码之后

if (window.JPushCustomPlugin) {
    window.JPushCustomPlugin.checkReceiveMessage()
}

服务端SDK发送消息, 需要添加uri_activity属性,即:setUriActivity("com.xxx.MainActivity")

参考开发:https://fugary.com/?p=342

cordova-plugin-jpush-custom's People

Contributors

fugary avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.