parse.com - Parse .NET Push Notification -


i'm trying send push notifications using parse .net sdk both android , 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 following error if try define "uri" parameter:

client-initiated push cannot use "uri" option

it doesn't mention in documentation can't send uri client. possible via parse console?

thanks!

in case interested. cannot send "uri" push client. easiest way differentiate different push types parse use category , extend parsepushbroadcastreceiver parse in android capture onclick event of push notification yourself. there can check category name.


Comments