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

cordova-plugin-jsms

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-jsms

JSMS for Cordova plugin.

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-75%
Maintainers
2
Weekly downloads
 
Created
Source

cordova-plugin-jsms

release platforms weibo

极光官方支持的 Cordova 短信验证码插件,支持 Android 和 iOS 平台。

目前不提供免费使用,有意可联系官方商务客服

注意:从 v1.2.0 开始支持 cordova-android v7.0.0+ 和 ionic-native。因 cordova-android 从 v7.0.0 开始修改了项目结构,因此不兼容旧版本,升级时请注意。

Install

cordova plugin add cordova-plugin-jsms --variable APP_KEY=Your_App_KEY

cordova plugin add https://github.com/jpush/cordova-plugin-jsms.git --variable APP_KEY=Your_App_Key

或下载到本地:

cordova plugin add <Plugin path> --variable APP_KEY=Your_App_Key

这里了解如何获得 AppKey。

如果使用了 ionic,可以通过 npm 安装 @jiguang-ionic/jsms 适配 ionic-native。

npm install --save @jiguang-ionic/jsms

然后在 app.module.ts 中增加:

import { JSMS } from '@jiguang-ionic/jsms';
...
  providers: [
    ...
    JSMS,
    ...
  ]

具体可参考 ./ionic/example 中的文件。

API

API 文档

Support

Contribute

Please contribute! Look at the issues.

License

MIT © JiGuang

Keywords

FAQs

Package last updated on 24 Feb 2018

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