Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

Line Break in Server Side Push notification

The br chadacters in braces

JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Line Break in Server Side Push notification

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

Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

Line Break in Server Side Push notification

line 1
line 2

Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

Line Break in Server Side Push notification

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

JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Line Break in Server Side Push notification

Hi Bruce, unfortunately not. Still stuck.

JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Line Break in Server Side Push notification

Evgene,

Do you have any ideas with this issue?

jimmy

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Line Break in Server Side Push notification

Hello Jimmy,

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

Rod b
Posts: 0
Joined: Sat May 16, 2015 1:32 am

Line Break in Server Side Push notification

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

JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Line Break in Server Side Push notification

Hi Rod,

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

If you have any luck please let me know.

Regards
James

Return to “Issues”