Hi,

I'm trying to push some custom data using 'data' tag from the API. Here is my message request:

Request is:{"request":{"application":"app-code","notifications":[{"content":"Constantly talking isn't necessarily communicating.","send_date":"now","data":{"url":"appName://page?id=1827"},"devices":["pushtoken1","pushtoken2"]}],"auth":"auth-key"}}

The above 'url' works fine when I send a Push Notification from CP,but it gets converted into following {"url":"appName:\/\/page?id=1827"} when sending from an API. which eventually makes the user to land on the app home page instead.

Any way to solve this issue?

asked 01 Apr '15, 14:38
Prithvi%20Raj's gravatar image

Prithvi Raj
111

Thank you for reporting the issue! This has been fixed.

permanent link
answered 02 Apr '15, 11:51
shader's gravatar image

shader
3.9k7

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×444
×120
×8

question asked: 01 Apr '15, 14:38

question was seen: 548 times

last updated: 02 Apr '15, 11:51