joypixels/emojione

Generated Emojione.java is too large

Open

#516 opened on Jun 8, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)PHP (4,447 stars) (569 forks)batch import
bughelp wanted

Description

Unfortunately with the current amount of emojis the generated Java file for Android is too large, and the compiler complains with the error: "code too large".

I'd suggest to change the way emojis are loaded, in a similar way emoji-java[1] library is doing, by loading a JSON file instead of a hardcoded HashMap.

[1] https://github.com/vdurmont/emoji-java

Contributor guide