{"id":20732413,"url":"https://github.com/jpush/jverification-cordova-plugin","last_synced_at":"2025-10-29T08:40:23.894Z","repository":{"id":37444242,"uuid":"196143924","full_name":"jpush/JVerification-cordova-plugin","owner":"jpush","description":"极光认证官方支持的 cordova 插件（Android \u0026 iOS）","archived":false,"fork":false,"pushed_at":"2024-03-29T09:14:29.000Z","size":122938,"stargazers_count":5,"open_issues_count":2,"forks_count":7,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-04-23T22:08:21.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"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":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-07-10T06:20:38.000Z","updated_at":"2024-08-16T06:32:47.000Z","dependencies_parsed_at":"2024-03-29T10:40:02.867Z","dependency_job_id":null,"html_url":"https://github.com/jpush/JVerification-cordova-plugin","commit_stats":{"total_commits":43,"total_committers":5,"mean_commits":8.6,"dds":"0.16279069767441856","last_synced_commit":"5d3ebb77d14060f4e13b8894c84fee31240d446f"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2FJVerification-cordova-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2FJVerification-cordova-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2FJVerification-cordova-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2FJVerification-cordova-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpush","download_url":"https://codeload.github.com/jpush/JVerification-cordova-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250522299,"owners_count":21444511,"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","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:21.558Z","updated_at":"2025-10-29T08:40:18.864Z","avatar_url":"https://github.com/jpush.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JVerification-cordova-plugin\n极光认证官方支持的 cordova 插件（Android \u0026amp; iOS）\n\n\u003e注意：插件不支持 cordova-android 7.0.0之前版本。\n\u003e\n\u003e如果需要在cordova-android 7.0.0之前版本集成插件，参照[这篇文章](https://www.jianshu.com/p/23b117ca27a6)\n\u003e\n\u003e[Cordova Android版本与原生版本对应表](http://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#requirements-and-support)\n\n## Install\n\n- 通过 cordova plugin 安装：\n\n```shell\ncordova plugin add jg-jverification-cordova-plugin --variable APP_KEY=极光appKey\n```\n\n- 或直接通过 url 安装：\n\n```shell\ncordova plugin add https://github.com/jpush/JVerification-cordova-plugin.git --variable APP_KEY=极光appKey\n```\n\n- 或下载到本地安装：\n\n```shell\ncordova plugin add \u003cplugin_local_path\u003e --variable APP_KEY=极光appKey\n```\n\n\n***说明 ***：\n+ android 如果你的应用的targetSdkVersion \u003e=28，设备在Android P 上是默认限制使用http请求的，开发者需要做如下配置：\n\n+ 在res文件夹下创建一个xml文件夹，然后创建一个network_security_config.xml文件，文件内容如下：\n\n~~~\n        \u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n        \u003cnetwork-security-config\u003e\n            \u003cbase-config cleartextTrafficPermitted=\"true\"\u003e\n                \u003ctrust-anchors\u003e\n                    \u003ccertificates src=\"system\" /\u003e\n                \u003c/trust-anchors\u003e\n            \u003c/base-config\u003e\n        \u003c/network-security-config\u003e\n~~~\n\n+ 在AndroidManifest.xml文件下的application标签增加以下属性：\n\n~~~\n    \u003capplication\n        ...\n        android:networkSecurityConfig=\"@xml/network_security_config\"\n        ...\n        /\u003e\n~~~\n\n\n\n## API\n\n可直接参考 [JG-JVerification-cordova-plugin.js](/www/JG-JVerification-cordova-plugin.js) 文件。\n\n## 参考资料\n\n[Andorid doc](/doc/android.md)\n\n[Ios doc](/doc/ios.md)\n\n[官方文档](https://docs.jiguang.cn/jverification/guideline/intro/)\n\n## Support\n\n- [极光社区](http://community.jiguang.cn/)\n\n## License\n\nMIT © [JiGuang](/license)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpush%2Fjverification-cordova-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpush%2Fjverification-cordova-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpush%2Fjverification-cordova-plugin/lists"}