I'm trying to send push notifications using the Parse .Net SDK to both Android and iOS:
ParsePush push = new ParsePush();
Dictionary<string, object> pushData = new Dictionary<string, object>()
{
{"alert", message},
{"sound", ""},
{"badge", 0},
{"uri", "http://blog.parse.com"},
{"category", category}
};
push.Data = pushData;
push.Query = query;
push.SendAsync().Wait();
I receive the following error if I try to define the "uri" parameter:
Client-initiated push cannot use the "uri" option
It doesn't mention anything in the documentation that you can't send the uri from a client. Is it really only possible via the Parse console?
Thanks!