I am using React-Native-Gifted-Chat in my RN/Expo app. When a user goes to type a message, the message box should move up with the keyboard . This is the behavior I get on iOS, but with Android, it covers up the box.
I've tried enclosing a "KeyboardAvoidingView" around the "GiftedChat" prop, but it pushes the message box outside the screen.
I've also tried what is seen below, and while the keyboard doesn't go away, it still covers the message box when typing.
Below is my code:
<KeyboardAvoidingView>
<SafeAreaView style = { styles.header }>
<GiftedChat
messages={}
showAvatarForEveryMessage={true}
onSend={messages => onSend(messages)}
user={{
_id:1,
}}
/>
</SafeAreaView>
</KeyboardAvoidingView>