React Native iOS 接受不到自定义消息。
我在极光后台发送自定义消息,
发送编号 1499329841
Message ID 11258999174896229
在代码中设置了tags,但是没有按tags推送,选择了全部,发送成功了,但是客户端没有接收到消息。
react native中的代码
JPushModule.addReceiveCustomMsgListener(this.onReceiveNotifaction);
onReceiveNotifaction(notification: JPushNotification) {
console.log(onReceiveNotifaction: extras is ${notification.extras}
);
let sid = String(JSON.parse(notification.extras).sid);
}