Socket
Socket
Sign inDemoInstall

cordova-plugin-janalytics

Package Overview
Dependencies
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-janalytics

JAnalytics


Version published
Weekly downloads
18
increased by800%
Maintainers
5
Weekly downloads
 
Created
Source

cordova-plugin-janalytics

极光官方提供的极光统计 Cordova 插件。

注意:从 v1.2.0 开始支持 cordova-android 7.0.0,因 cordova-android 7.0.0 修改了 Android 项目结构,因此不兼容之前的版本,升级前请务必注意。

如果需要在cordova-android 7.0.0之前版本集成最新插件,参照这篇文章

如果需要安装之前版本的插件,请先自行安装 v1.2.0 以下版本(建议安装 v1.1.12,cordova-plugin-jcore 向下兼容)的 cordova-plugin-jcore,再安装插件,否则运行会报错。

Cordova Android版本与原生版本对应表

Install

  • 通过 cordova plugin 安装,要求 Cordova CLI 5.0+:

    cordova plugin add cordova-plugin-janalytics --variable APP_KEY=极光appKey
    
  • 或直接通过 url 安装:

    cordova plugin add https://github.com/jpush/cordova-plugin-janalytics --variable APP_KEY=极光appKey
    
  • 或下载到本地安装:

    cordova plugin add <plugin_local_path> --variable APP_KEY=极光appKey
    

API

可直接参考 JAnalytics.js 文件。

参考资料

官方文档

Support

License

MIT © JiGuang

Keywords

FAQs

Package last updated on 31 Aug 2023

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