Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

IOS 集成信鸽推送出问题 #9

Open
DonChengCheng opened this issue Mar 20, 2018 · 3 comments
Open

IOS 集成信鸽推送出问题 #9

DonChengCheng opened this issue Mar 20, 2018 · 3 comments

Comments

@DonChengCheng
Copy link

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

@Jeepeng
Copy link
Owner

Jeepeng commented Mar 21, 2018

可能原因:

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

@sheepshine
Copy link

sheepshine commented Mar 28, 2018

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

@charmtiger
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants