Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 30000

Image keyboard support in React Native

$
0
0

Android documentation states that:

With Android 7.1 (API level 25), the Android SDK includes the Commit Content API, which provides a universal way for IMEs to send images and other rich content directly to a text editor in an app.

However, when I use the React Native's TextInput component and select a GIF from Android's keyboard, I receive the following message (see screenshot):

This text field does not support GIF insertion from the keyboard.

This text field does not support GIF insertion from the keyboard.

How can I add support for this functionality to a React Native app? Ideally I'd like a component that provides a callback to handle the URI received by commitContent().


Viewing all articles
Browse latest Browse all 30000

Trending Articles