Apple push notifications and emoji characters

I recently found this very interesting article about APNS and Emoji characters: EASY APNS - Just for fun

It contains a list with all supported Emojis. However, I could not get them to appear in my push notifications. All I get is the code, not the image. For example, if I add \ ue415 (emoticon) to my message, I will never see the image, just the code.

Any idea what I'm doing wrong?

+4
source share
3 answers
NSString *emoji = [NSString stringWithFormat:@"%C", 0xe415]; 
+6
source

check out this site http://code.iamcal.com/php/emoji/

he makes emoji in php.

I use this command to achieve emoji on iphone.

emoji_unified_to_softbank ("\ Xee \ x80 \ XAC");

Q

+3
source

If you use Rubymotion for iOS dev, you can use the softbank code converted as follows: softbank code: U + E04A Rubymotion string sent as push: "This is the sun with emoji \ ue04a rays"

0
source

Source: https://habr.com/ru/post/1304047/


All Articles