Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

emoji support #668

Closed
superainovacoes opened this issue Mar 4, 2016 · 8 comments
Closed

emoji support #668

superainovacoes opened this issue Mar 4, 2016 · 8 comments
Labels

Comments

@superainovacoes
Copy link

How to send push with emojis?

@macdonst macdonst added the docs label Mar 4, 2016
@macdonst
Copy link
Member

macdonst commented Mar 4, 2016

@superainovacoes you need to send the unicode value. You can look them up at:

http://apps.timwhitlock.info/emoji/tables/unicode

@superainovacoes
Copy link
Author

i have just checked and it did not work.

i am using node-gcm module, the string is "teste U+1F601 será? U+1F602 aahaha"

when i receive the push the string above is identical.

@macdonst
Copy link
Member

macdonst commented Mar 4, 2016

@superainovacoes oh sorry, use this table instead:

http://www.easyapns.com/category/just-for-fun

@superainovacoes
Copy link
Author

@macdonst no success 😢 i already have tried all the emoji types/formats

do you use emoji on notifications? are you using node-gcm?

@superainovacoes
Copy link
Author

@macdonst does your test works?

@macdonst
Copy link
Member

macdonst commented Mar 7, 2016

@superainovacoes take the unicode value like U+1F601 and translate it to a HTML entity code like: 😁. This is working for me.

@superainovacoes
Copy link
Author

Thanks it works.

@lock
Copy link

lock bot commented Jun 5, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants