Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple push notifications and Emoji characters

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

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

Any idea what I'm doing wrong?

like image 509
Friendlydeveloper Avatar asked Jan 22 '23 10:01

Friendlydeveloper


2 Answers

NSString *emoji = [NSString stringWithFormat:@"%C", 0xe415];
like image 141
digdog Avatar answered Feb 15 '23 07:02

digdog


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

he does the emoji in php.

i use this command to achieve a emoji on the iphone.

emoji_unified_to_softbank("\xee\x80\xac");

Q

like image 40
Quintin Avatar answered Feb 15 '23 08:02

Quintin