/emoji-core

Emoji core is a pure Kotlin library that fetches all emojis supported in the latest Unicode standard 15.0.

Primary LanguageKotlinApache License 2.0Apache-2.0

License License License License

Emoji Core

Emoji core is a pure Kotlin library that fetches all emojis supported in the latest Unicode standard 15.1 (Updated as on 2023 September 12).

Setup

Latest version can be found here

  1. Add it in your root build.gradle at the end of repositories:
allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}
  1. Add dependency to module build.gradle
dependencies {
    implementation "com.github.Abhimanyu14:emoji-core:$latest_version"
}

Sample

Kotlin

The Main application demonstrates how to use Emoji core to fetch emojis, using coroutines.

For demonstration purposes runBlocking is used. For actual projects call emojiDataSource.getAllEmojis() in a non-blocking coroutine.

Sample Android App

Compose Emoji Picker internally uses Emoji Core for fetching the emojis.

Dependencies

  • kotlinx-coroutines-core
  • kotlinx-serialization-json
  • okhttp3

Issues

Please do create new issues if there are any bugs or feature requests.
You can also directly reach out to me via LinkedIn

Find this repository useful? ♥️

Support it by joining stargazers for this repository. 🌟
Also follow me for my next creations! 🤗

License

Copyright 2024 Abhimanyu

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.