react-native-xinge-push icon indicating copy to clipboard operation
react-native-xinge-push copied to clipboard

IOS 集成信鸽推送出问题

Open DonChengCheng opened this issue 6 years ago • 3 comments

ios注册消息推送的时候,总提示设置设备失败,是什么原因?

DonChengCheng avatar Mar 20 '18 03:03 DonChengCheng

可能原因:

  1. 设置的账号 account 长度为2个字节以上,不要使用"test","123456"这种过于简单的字符串
  2. 拿不到apple push token:不是真机上调试、 推送证书没有配好等

Jeepeng avatar Mar 21 '18 03:03 Jeepeng

我把XGPush.addEventListener('message', this._onMessage);注释掉不报这个错了,还有发布应用的时候capabilites里push notification要打开,不然_onRegister回掉不起作用

sheepshine avatar Mar 28 '18 07:03 sheepshine

@sheepshine ios 今天调了很久,没仔细看你最后的话 😂

charmtiger avatar Jul 30 '18 15:07 charmtiger