
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
cordova-plugin-mz-bugly-sdk
Advanced tools
腾讯Buyly SDK的Cordova插件。
cordova plugin add cordova-plugin-mz-bugly-sdk
初始化SDK
var args = {
// 通用配置
debug:true,
ios_appId:"",
//是否开启卡顿检测
block_monitor_enable:true
};
window.bugly.initSDK(function(success){
console.log("初始化成功");
},function(err){
console.log("初始化失败");
console.log(err);
},args);
window.bugly.setUserId(function(success){
console.log("设置成功");
},function(err){
console.log("设置失败");
console.log(err);
},{{userId}});
window.bugly.setUserValue(function(success){
console.log("设置成功");
},function(err){
console.log("设置失败");
console.log(err);
},{
userName:"{{userName}}",
nickName:"{{nickName}}",
});
npm publish --registry=https://registry.npmjs.org/
FAQs
Cordova Crash Reporter
We found that cordova-plugin-mz-bugly-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.