c# - How to launch url on "click_action" from GCM? -


i sending following notification in third part app using amazon sns , c#:

{ "collapse_key": "demo","default": "lorem ipsum dolor sit amet, consectetur adipiscing elit, sed eiusmod tempor incididunt ut labore et dolore magna aliqua. ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.", "gcm":"{\"notification\":{\"body\":\"check out these awesome deals! said: check out these awesome deals!\",\"title\":\"test\",\"click_action\":\"www.google.com.br\"}}" } 

i'm trouble 2 problems:

  1. i need app goes open link on click action, using notification. possible?

  2. the notification, in android, showing 1 line of text. can configure amount of lines displays in message?

can me?

thanks lot.

when implement notifications, can set appropriate click event depending on use case. yes, possible.

i'm not sure configuring multiple lines, can try escaping new lines of message (though think possible).


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -