react-native-emoji-input icon indicating copy to clipboard operation
react-native-emoji-input copied to clipboard

Create a fallback strategy for missing emoji

Open sskhandek opened this issue 7 years ago • 5 comments

Some versions of iOS and Android do not support all the emoji unicode characters. Having a fallback emoji character upon detection of the missing emoji would replace it with a popular open source emoji font like Twemoji or EmojiOne

sskhandek avatar Feb 26 '18 06:02 sskhandek

Yes, it should be on priority. Missing emoji's makes the entire emoji block look ugly

aaeronn avatar Apr 20 '18 15:04 aaeronn

Thanks @aaeronn for the feedback. We're open to PRs, but we're trying our best to come up with a solution in the next week or so. We have been busy with conference travel 😀

sskhandek avatar Apr 26 '18 16:04 sskhandek

I have created a fork with a simple solution to that. Since emoji support varies across devices and manufacturer (on Android) I have added a prop that filters Emojis by Unicode version release. So for example you can display only the most basic ones which were included in version 6.0. I know this si not perfect but at least on most Android devices I have all emojis without any missing ones. Would you be interested in PR containing that?

darekg11 avatar Mar 04 '19 19:03 darekg11

cc: @rijn That'd be great. Thank you very much @darekg11

sskhandek avatar Mar 05 '19 03:03 sskhandek

@sskhandek I will create a PR on the weekend.

darekg11 avatar Mar 05 '19 07:03 darekg11