

After a short delay, EmojiCompat will create a thread to load the emoji font. This allows app startup to happen uncontended, and avoids loading the font for app starts that never show a UI. When using EmojiCompatInitializer initial startup delay is improved to trigger after the first Activity resumes.This allows the platform behavior of allowing nulls to be applied to emoji supporting EditText implementations. EmojiEditTextHelper now allows null to be passed as a KeyListener.This release is a bugfix and stabilization release. Version 1.0.0-alpha03 contains these commits. This fixes a bug introduced in emoji2Īndroidx.emoji2:emoji2-*:1.0.0-alpha03 is released. Fix DefaultEmojiCompatConfig to correctly lookup emoji font.Custom widgets that use IME not subclassing EditText may callĮmojiCompat.updateEditorInfo to inform IME that they support.
Android emojis android#
( I6cd48)ĮmojiCompat correctly sets EditorInfo.extras on Android 11 SetHandler is retained as a no-op Deprecated API to aid in migration. This change is a breaking change from androidx.emoji:emoji, so This API allows apps toĬonfigure FontRequestEmojiCompatConfig to use any background executor. Which replaces the previous API of setHandler. Version 1.0.0-beta01 contains these commits.Īdded setLoadingExecutor to FontRequestEmojiCompatConfig, Version 1.0.0-rc01 contains these commits.Īndroidx.emoji2:emoji2-*:1.0.0-beta01 is released. Version 1.0.0 contains these commits.Īndroidx.emoji2 replaces androidx.emoji with additional capabilities:įor more information about androidx.emoji2 see Supporting Modern Emoji and our Android Dev Summit talk Displaying ALL the emojis in your app Android Dev. Emoji2 will not wrap instances of NumberKeyListener, allowing the locale to be configured by TextView.Īndroidx.emoji2:emoji2-*:1.0.0 is released.Appcompat will not wrap instances of NumberKeyListener passed to setKeyListener, allowing TextView to correctly configure the locale on NumberKeyListeners.Emoji2 will not wrap instances of NumberKeyListener, allowing the the locale to be configured by TextView.Deprecate hasEmojiGlyph, as its boolean return value is inaccurate when testing against a font that is older than the platfrom emoji font.Add new API getEmojiMatch to allow keyboards to more accurately lookup emoji match behavior in emojicompat.Version 1.1.0-alpha01 contains these commits. No changes from alpha01 ( Ic61d9)Īndroidx.emoji2:emoji2-*:1.1.0-alpha01 is released. Version 1.1.0-beta01 contains these commits. Bugfix for NumberKeyListener that makes digit input correctly filter charactersĪndroidx.emoji2:emoji2-*:1.1.0-beta01 is released.Version 1.1.0-rc01 contains these commits. Bugfix for NumberKeyListener that makes digit input correctly filter characters.Īndroidx.emoji2:emoji2-*:1.1.0-rc01 is released.New getEmojiMatch API returns accurate information for keyboards to decide how an emoji will display in the presence of an emojicompat font that's behind the system font.

Version 1.2.0-alpha01 contains these commits. Fix crash when emoji2 loads font and tText(char) was used.Backport editor crash fix from Android P to EditText that is configured to use emoji2.Emoji2 will add emoji to PrecomputedText by discarding previously precomputed text layout.Version 1.2.0-alpha02 contains these commits.

You can add your vote to an existing issue byįor more information. In this library before you create a new one. Let us know if you discover new issues or have Implementation("androidx.emoji2:emoji2-views-helper:$emoji2_version")įor more information about dependencies, see Add Build Dependencies. Implementation("androidx.emoji2:emoji2-views:$emoji2_version") Implementation("androidx.emoji2:emoji2:$emoji2_version") Implementation "androidx.emoji2:emoji2-views-helper:$emoji2_version" Implementation "androidx.emoji2:emoji2-views:$emoji2_version" Implementation "androidx.emoji2:emoji2:$emoji2_version"
