
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
ionic-wechat
Advanced tools
这是一个微信cordova 插件的Typescript 转换实现,主要是为了帮助大家在ionic2及其以上版本直接调用Wechat cordova插件里面的JS方法.
在此之前你需要安装 cordova-plugin-wechat插件 ionic3及其以上版本前面需要加上ionic: ionic cordova plugin add cordova-plugin-wechat --variable wechatappid=YOUR_WECHAT_APPID
原来的这个cordova-plugin-wechat 有个坑,如果是最新的cordova版本android 无法安装插件到源码中,这是因为cordova版本太高,不兼容这个插件所导致的。解决 方案是修改$your_project/plugins/cordova-plugin-wechat/scripts/android-install.js中的 var targetDir = path.join(projectRoot, "platforms", "android", "src", packageName.replace(/./g, path.sep), "wxapi"); 修改为 var targetDir = path.join(projectRoot, "platforms", "android", "app","src","main","java", packageName.replace(/./g, path.sep), "wxapi");
修改后,重新装一下平台 cordova platform remove android cordova platform add android
如果你已经安装过cordova-plugin-wechat插件,可以直接使用以下命令安装ionic-native: npm install ionic-wechat --save
提供的转换方法如下: isInstalled() 检测是否安装微信客户端 auth() 微信登录验证 share() 微信分享 sendPaymentRequest() 微信支付
author by xuchao!
FAQs
Ionic Native - Native plugins for ionic apps
We found that ionic-wechat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.