API PUSH Notification


#1

Hi team!!

I want send push notification with accents.

I checked if is possible through https://apps.ionic.io/. And I Did .

But When I use python for send words with accents, the push is displayed with wrongs caracters.

Can someone help me?

This code I use for send:


#2

What are you sending?
What are you receiving?


#3

I found the answer.

I did sent with latin-1.

I think IONIC need improve doc to explicit push data need be encoding with utf-8.


#4

So you had to encode the notification payload in utf8?


#5

Can you create an issue here please: https://github.com/driftyco/ionic-cloud


#6

Yes.

My system uses latin-1 because this is old.

So, before I send push I need encode to utf8 payload. With str encoded with utf8, the push arrived and displayed perfect.

@Sujan12


#7

@LoLStats

OK. I Will create issue.