This module takes care of generating emoji data bundled with Openboard. Basically data is generated in three steps:
- Unicode emoji table provides code points and grouping plus ordering.
- Local file lists every new emojis supported for every android version since 4.4.
- Emoji sequences are merged with their base version and formatted into android resource file.
A gradle task called 'makeEmoji' builds and runs this tool to generate android resouce file which. Path to openboard's res directory is automatically set so the file is ready to be bundled at build.
- Get new emoji data from Unicode official repository located here: https://unicode.org/Public/emoji.
- Create a new directory in /src/main/resources/emoji/ucd and name it as a decimal number corresponding to Unicode's version.
- Update android-emoji-support.txt with new emojis supported in latest Android versions.
- Run :
./gradlew tools:make-emoji-keys:makeEmoji