极光推送 通过registration_id 推送,报cannot find user by this audience

Why1
2018-08-10 07:36 1.4k 0

java后台通过registrationId点对点推送推送一直报错,后台代码如下:
PushPayload payload = PushPayload.newBuilder().
setPlatform(platform).
setAudience(Audience.registrationId(registrationId)).
setMessage(Message.content(message)).build();
PushResult result = jpushClient.sendPush(payload);
registrationId通过官网已发送消息给app端测试是能收到消息,证明registrationId是可用的,
但是一直报cannot find user by this audience,找不到推送目标,这怎么解。

2个回答

热门排序