【发布时间】:2018-07-27 22:52:05
【问题描述】:
我正在尝试通过 Parse 推送通知在我的有效负载中发送数据。
Parse.Push.send({
where: pushQuery, // for sending to a specific channel
data: payload,
}, { success: function() {
console.log("#### PUSH OK");
}, error: function(error) {
console.log("#### PUSH ERROR" + error.message);
}, useMasterKey: true});
response.success('success');
});
在我的有效负载中,我存储了一个 customData 字段。如何在自定义广播接收器的 onReceive() 中访问此字段;
【问题讨论】:
标签: android push-notification parse-server