{"id":20732374,"url":"https://github.com/jpush/cordova-plugin-jsms","last_synced_at":"2025-07-25T16:34:14.336Z","repository":{"id":57121272,"uuid":"63145428","full_name":"jpush/cordova-plugin-jsms","owner":"jpush","description":"JiGuang's officially supported JSMS PhoneGap/Cordova plugin (Android \u0026 iOS). 极光官方支持的短信验证码 PhoneGap/Cordova 插件。","archived":false,"fork":false,"pushed_at":"2018-08-16T07:17:15.000Z","size":11429,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-06-26T00:33:17.922Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.jiguang.cn","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpush.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-12T09:33:55.000Z","updated_at":"2020-04-08T11:00:26.000Z","dependencies_parsed_at":"2022-08-24T02:40:51.630Z","dependency_job_id":null,"html_url":"https://github.com/jpush/cordova-plugin-jsms","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/jpush/cordova-plugin-jsms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2Fcordova-plugin-jsms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2Fcordova-plugin-jsms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2Fcordova-plugin-jsms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2Fcordova-plugin-jsms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpush","download_url":"https://codeload.github.com/jpush/cordova-plugin-jsms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2Fcordova-plugin-jsms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267030779,"owners_count":24024231,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T05:19:07.515Z","updated_at":"2025-07-25T16:34:14.202Z","avatar_url":"https://github.com/jpush.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cordova-plugin-jsms\n\n[![release](https://img.shields.io/badge/release-1.2.0-blue.svg)](https://github.com/jpush/cordova-plugin-jsms/releases)\n[![platforms](https://img.shields.io/badge/platforms-iOS%7CAndroid-lightgrey.svg)](https://github.com/jpush/cordova-plugin-jsms)\n[![weibo](https://img.shields.io/badge/weibo-JPush-blue.svg)](http://weibo.com/jpush?refer_flag=1001030101_\u0026is_all=1)\n\n极光官方支持的 Cordova 短信验证码插件，支持 Android 和 iOS 平台。\n\n\u003e 目前不提供免费使用，有意可联系官方[商务客服](https://www.jiguang.cn/sms)。\n\n注意：从 v1.2.0 开始支持 cordova-android v7.0.0+ 和 ionic-native。因 cordova-android 从 v7.0.0 开始修改了项目结构，因此不兼容旧版本，升级时请注意。\n\n## Install\n\n```shell\ncordova plugin add cordova-plugin-jsms --variable APP_KEY=Your_App_KEY\n```\n\n或\n\n```shell\ncordova plugin add https://github.com/jpush/cordova-plugin-jsms.git --variable APP_KEY=Your_App_Key\n```\n\n或下载到本地：\n\n```shell\ncordova plugin add \u003cPlugin path\u003e --variable APP_KEY=Your_App_Key\n```\n\n\u003e [这里](http://docs.jiguang.cn/guideline/statistical_report/)了解如何获得 AppKey。\n\n如果使用了 ionic，可以通过 npm 安装 @jiguang-ionic/jsms 适配 ionic-native。\n\n```shell\nnpm install --save @jiguang-ionic/jsms\n```\n\n然后在 *app.module.ts* 中增加：\n\n```js\nimport { JSMS } from '@jiguang-ionic/jsms';\n...\n  providers: [\n    ...\n    JSMS,\n    ...\n  ]\n```\n\n具体可参考 ./ionic/example 中的文件。\n\n## API\n\n[API 文档](/doc/API.md)\n\n## Support\n\n- [官网文档](http://docs.jiguang.cn/guideline/JSMS_guide/)\n- [极光社区](http://community.jiguang.cn/)\n\n## Contribute\n\nPlease contribute! [Look at the issues](https://github.com/jpush/cordova-plugin-jsms/issues).\n\n## License\n\nMIT © [JiGuang](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpush%2Fcordova-plugin-jsms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpush%2Fcordova-plugin-jsms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpush%2Fcordova-plugin-jsms/lists"}