0
我有这个代码(在Azure的移动服务计划作业的一部分)的一些问题:Azure的移动服务,推动Windows Phone的通知8
var channelTable = tables.getTable('PushChannels');
channelTable.read({
success: function(channels) {
channels.forEach(function(channel) {
push.mpns.sendToast(channel.PushChannelUri, {
text1: "AppName:",
text2: "Update!"
}, {
success: function(pushResponse) {
console.log("Push sent");
},
error: function(error) {
console.error("Error!");
}
});
});
}
});
我的问题是:
- 推送通知未到达设备
- console.logs没有在显示“日志”选项卡
有人可以帮我吗? 亲切的问候!
你可以'console.log'你的通道(在第一个成功函数中)看看你有没有有效的数据吗? – carlosfigueira
问题在于代码的以前的部分。代码是正确的。 – Zozo