Page 2 of 2

Line Break in Server Side Push notification

Posted: Thu Apr 16, 2015 10:21 pm
by Bruce Stuart

The br chadacters in braces


Line Break in Server Side Push notification

Posted: Thu Apr 16, 2015 10:28 pm
by JimmyH

When I tried the
, i tried the following:

PN.send(
"XXXXX", //Push Notification API key
{"message": "Push"
"test" } //Push notification message
);

this returned an error.

and

PN.send(
"XXXXX", //Push Notification API key
{"message": "Push" +

  • "test" } //Push notification message
    );

    this returned an error.

    and
    PN.send(
    "XXXXX", //Push Notification API key
    {"message": "Push
    test" } //Push notification message
    );

    no surprises this returned Push
    test

    So the string1 + String.fromCharCode(13, 10) + string2 was parsed OK, in that no errors were returned, the "Push test" appeared in the push notification, but it didn't actually make the line break.

    I hope this is clear.

    thanks


Line Break in Server Side Push notification

Posted: Thu Apr 16, 2015 10:51 pm
by Bruce Stuart

line 1
line 2


Line Break in Server Side Push notification

Posted: Fri Apr 17, 2015 11:13 pm
by Bruce Stuart

Jimmy - so sorry - off on something else last 12 hours - where are you with this? Any resolution?


Line Break in Server Side Push notification

Posted: Sat Apr 18, 2015 4:05 am
by JimmyH

Hi Bruce, unfortunately not. Still stuck.


Line Break in Server Side Push notification

Posted: Sat Apr 18, 2015 9:22 am
by JimmyH

Evgene,

Do you have any ideas with this issue?

jimmy


Line Break in Server Side Push notification

Posted: Thu Apr 23, 2015 8:54 am
by Evgene Karachevtsev

Hello Jimmy,

We contacted our development team and unfortunately looks like that this is impossible.


Line Break in Server Side Push notification

Posted: Mon May 18, 2015 11:26 am
by Rod b

Hey Jimmy - did you ever solve how to get a line break into a push notification? I would like to do that too.


Line Break in Server Side Push notification

Posted: Tue May 19, 2015 9:25 pm
by JimmyH

Hi Rod,

Unfortunately not, I tried everything that I could think of.

If you have any luck please let me know.

Regards
James