Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cn.jiguang.common.resp.APIRequestException: {"error":{"code":1003,"message":"The registration_id 140fe1da9e22a23f92f is invalid!"}} #165

Open
pquanshan opened this issue Jul 24, 2020 · 0 comments

Comments

@pquanshan
Copy link

1、消息结构1,可以推送成功。
return PushPayload.alertAll(ALERT)
2、消息结构2,推送失败,提示错误“The registration_id 140fe1da9e22a23f92f is invalid!”
return PushPayload.newBuilder()
.setPlatform(Platform.android())
.setAudience(Audience.registrationId(registrationId))
.setNotification(Notification.alert(ALERT))
.build();
3、Registration ID 140fe1da9e22a23f92f 使用 极光网页测试,推送成功。

请问什么原因???

另外怎么构建一个消息机构,指定设备推送,消息标题和内容。

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

No branches or pull requests

1 participant