Emoji in push notifications

When I try to send emojis in the title or message I just get a ? on my phone
this is part of my payload
{“to” : “ExponentPushToken[ABC]”,“body”:“Dan5555 P. canceled test cancel3 on (08/15) :slightly_frowning_face:”,“title”:“test cancel3 was deleted”,“badge”:103}}

how I send a emoji or :slightly_frowning:

in the payload of the push notifications?

Hey @dan.y2fl,

I just tested this with our Push Notification tool and I’m able to see the emoji in the push notification. Push Notification Tool — Expo

Is it possible the device your targeting isn’t able to recognize the emoji? I sent the test notification to an iPhone 7 running the latest iOS version.

Cheers,

Adam

Ah, always forget about the push tool, thanks. Problem was with the C# call I didn’t add:
client.Encoding = System.Text.Encoding.UTF8;

I created a fork and added more of my code to the simple C# example
https://gist.github.com/danparker276/0fb73738f018f5367040acd748c40e68

Also I updated with a comment to:
https://gist.github.com/rbravo/092dda13daf769b031c70d363aaf738d

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.