react-native设置tag或者alias无反应
"jcore-react-native": "1.2.9",
"jpush-react-native": "2.2.9",
react-native : 0.55.4
最近升级了react-natvie的版本,顺便也升级了jpush和jcore,结果发现推送没效果了
在componentdidmount里面写
JPushModule.initPush();
JPushModule.setTags(['123'], (res) => {
console.log('set tags succeed')
}, () => {
console.log('error')
});
调试窗口整个过程既不报错,也不显示console.log的内容
使用addnetworkDidLoginListener或者setAlias也一样,不输出任何内容也不报错。
请问是可能是什么错误?