Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nxtpush-cordova-plugin

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nxtpush-cordova-plugin

HUAWEI PUSH & XIAOMI PUSH & JPUSH for cordova plugin

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

nxtpush-cordova-plugin

集成极光推送、华为推送、小米推送的 Cordova 插件。

Usage & Install

安装说明
  • 安装插件时需要填写极光推送对应的 APPKEY,参考 plugin.xml 中 $JIPUSH_APPKEY
  • 安装插件时需要填写小米推送对应的 APPKEY 与 APPID,参考 plugin.xml 中 $MI_PUSH_APPID$MI_PUSH_APPKEY
  • 华为不需要填写相关信息,初次使用时需要上传 HUAWEI TOKEN 至服务端
  • IOS 端推送逻辑使用极光版本
  • 具体支持的功能参见: www/NXTPlugin.js
安装命令
cordova plugin add Your_Plugin_Path --nofetch --variable JIPUSH_APPKEY=YOUR_JIPUSH_APPKEY --variable MI_PUSH_APPID=YOUR_MI_PUSH_APPID --variable MI_PUSH_APPKEY=
=YOUR_MI_PUSH_APPKEY

Example

例子基于 ionic ,当然你也可以不基于 ionic ,参考极光官方例子即可。 可以使用 ionic start myApp tabs安装 ionic 初始模板, 将 www/ 下的代码替换为 example/ 里的代码即可。

FAQ

https://github.com/pengkobe/nxt-cordova-pushplugin/issues

Special Thanks

License

MIT@yipeng.info

Keywords

FAQs

Package last updated on 19 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc