I installed the mobile service on Azure and uploaded a development certificate with push notification permissions. I use mono touch to get the device token from the application and send it with the request. When an element is inserted, I want to send push to the client, but in the logs I keep getting this error.
{ [Error: 400 - Invalid expression: '568d4f52 615ee9.......
where expression is the token of my device. If I go to the table, I will see that the device token matches the one that was created in the iOS application. I updated the mobile service to extended click, but I can not find examples of how to click on one user. In my code I have
request.execute();
push.apns.send(item.pushNotificationHandle, {
alert : 'testing',
payload: { text1: 'inner text' }
}, {
error: function(error){
console.error(error);
}
});
Azure , , . , , .
http://msdn.microsoft.com/en-US/library/azure/jj839711.aspx
- ? "item.pushNotificationHandle", , ( )