Packages emojibase bindings for iOS and Android
  • TypeScript 43.8%
  • Swift 27.8%
  • Kotlin 21.9%
  • Shell 5.8%
  • JavaScript 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michael Telatynski 02b77a4f1f
Merge pull request #63 from matrix-org/renovate/github-actions-minor-patch
Update github-actions non-major dependencies
2026-07-21 11:02:21 +01:00
.github Iterate 2026-07-21 10:31:25 +01:00
platforms patch version bump 2026-03-31 09:32:18 +00:00
scripts Update iOS to Unicode/Emoji 17. (#58) 2026-03-25 21:47:08 +00:00
src Iterate 2026-07-21 09:30:53 +01:00
test Iterate 2026-07-21 09:30:53 +01:00
.eslintignore Include tests in tsconfig so that they are linted but remove from build output 2024-10-04 13:55:05 +01:00
.eslintrc.json Add lint 2024-09-27 11:59:38 +01:00
.gitignore Git ignore .idea folder. 2026-03-30 18:12:43 +02:00
babel.config.cjs babel config is cjs 2026-07-21 09:33:57 +01:00
jest.config.ts Add tests 2024-10-02 12:11:30 +01:00
LICENSE Typescript to create the json and swift bindings 2023-08-04 12:17:49 +01:00
package.json Iterate 2026-07-21 09:30:53 +01:00
Package.swift Fix swift tools version. 2023-08-09 22:32:01 +01:00
README.md Add MAX_EMOJI_VERSION per platform. 2024-10-02 21:20:13 +01:00
tsconfig.build.json Iterate 2026-07-21 09:30:53 +01:00
tsconfig.json Iterate 2026-07-21 09:30:53 +01:00
yarn.lock Iterate 2026-07-21 09:30:53 +01:00

emojibase-bindings

Kotlin, Swift and Web bindings for emojibase json.

Requirements

  • Node LTS
  • Yarn Classic

Installation

Run ./scripts/setup.sh to install dependencies for this project.

Generating the emojibase.json

Run ./scripts/generateJson.sh to generate the emojibase.json assets

Updating Emoji Version

  1. Update the emojibase emojibase version in a package.json to one that support the required emoji version.
  2. To update the emoji version web uses change MAX_EMOJI_VERSION_WEB in src/emoji.ts(Element Web imports this file directly).
    • caveat: This version should be changed in unison with the twemoji verison so that all emojis displayed in the picker can actually be rendered.
  3. To update the emoji version iOS or Android use change MAX_EMOJI_VERSION_ANDROID or MAX_EMOJI_VERSION_IOS respectively in scripts/generateJson.sh(This script generates the emojibase.json file packaged with the iOS and Android packages)

Releasing

Use "Run workflow". Refer to SemVer for versioning semantics. This workflow will bump the version, publish to NPM/Maven and create a GitHub release. The Swift consumer uses SwiftPM and can target the latest released version.