
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
jmessage-phonegap-plugin
Advanced tools
JMessage PhoneGap / Cordova Plugin 是基于极光 IM 的 Cordova 插件,目前支持 iOS 和 Android 平台。
除了支持 IM 功能外,还集成了 JPush PhoneGap Plugin 插件的功能,支持进行消息推送。
JMessage PhoneGap Plugin 和 JPush PhoneGap Plugin 这两个插件不能同时安装。
迁移到 JMessage Phonegap Plugin 前要先删除 JPush PhoneGap Plugin 插件,因为 JMessage PhoneGap Plugin 中已经包含了 JPush 的相关功能了。
QQ 交流群:413602425
有问题建议先到极光社区搜索提问。
在线安装
cordova plugin add https://github.com/jpush/jmessage-phonegap-plugin.git --variable APP_KEY=Your_app_key
本地安装
cordova plugin add <Plugin Path> --variable APP_KEY=Your_app_key
点击这里查看如何获取 APP_KEY。
API 分为 IM(聊天)和 Push(消息推送)两部分。具体可参考:
插件项目中的 /example 目录下包含一个简单的示例,如果想参考可以将目录下的所有文件拷贝到具体 Cordova 项目的 /assets/www/ 目录下。
若要使用 CLI 来编译项目,注意应使用 cordova compile 而不是 cordova build 命令,因为 cordova build 可能会清除对插件文件中 AndroidManifest.xml 文件的修改。 具体的 Cordova CLI 用法可参考 Cordova CLI 官方文档。
解决方案:Eclipse 中右键单击工程名,Build Path -> Config Build Path -> Projects -> 选中工程名称 -> CordovaLib -> 点击 add。
若用命令行编译报错 -source 1.6,请修改项目中的 platforms/android/build.gradle 文件:
...
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7 // 1_6 改为 1_7
targetCompatibility JavaVersion.VERSION_1_7 // 1_6 改为 1_7
}
...
FAQs
JMessage Cordova Plugin.
We found that jmessage-phonegap-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.