|
[多端开发]
小米手机闪退(rongcloud2 init初始化消息推送时)
[复制链接]
rong.init({
huaweiPush:true,
// miPush:true,
// meizuPush:true,
// oppoPush:true,
vivoPush:true,
miPush:{
appId: 'xxxx', //字符串类型;小米后台申请的appid
appKey: 'xxx',//字符串类型;小米后台申请的appKey
},
},function(ret, err) {
// console.log(JSON.stringify(ret)+JSON.stringify(err))
if(ret.status == 'success') {
}
})
这里如果把 miPush:{
appId: 'xxxx', //字符串类型;小米后台申请的appid
appKey: 'xxx',//字符串类型;小米后台申请的appKey
},
删掉,就不会闪退,
用了thirdparpush和rongcloud2 3.7.8两个插件
0.0.25 | ClassNotFoundException[dalvik.system.BaseDexClassLoader.java,findClass,259] | 4 | 2024-05-24 11:19:52 |
|
|