ToothlessGear / node-gcm

A NodeJS wrapper library port to send data to Android devices via Google Cloud Messaging
https://github.com/ToothlessGear/node-gcm
Other
1.3k stars 208 forks source link

Push data formatting issue #306

Closed zohaib055 closed 6 years ago

zohaib055 commented 6 years ago

i get this error on android side when send payload via node-gcm

Unterminated object at character 48 of {type=pn_comments, cause_id=22, comment=zohaib ahmad has commented on your cause}

it got resolved when i replace _ with spaces in comment string looks like there is an issue in lib

anyone got the same issue ?

hypesystem commented 6 years ago

Hi! Could I get you to share the code you use to send the payload, so we can see if it has anything to do with that?

Can you tell me exactly what the data payload looks like on the server-side when you send it?

Thanks ! :smile:

eladnava commented 6 years ago

Closing due to lack of response. Feel free to reopen if you are still experiencing this.