Note
Active development has moved. react-native-gifted-chat is in maintenance mode. New features (including streaming AI messages) and the latest fixes land in the maintained fork @kesha-antonov/react-native-chat. Same API and IMessage model, migrating is mostly a rename: migration guide with a codemod.
What's Changed
Features
isAlignedTop='auto'(#2736): a short conversation sits at the top while the keyboard is closed and moves to the bottom while it is open. Works with bothisInvertedsettings.
Bug Fixes
- Android navigation bar overlapping the app after leaving the chat (#2755): the built-in
KeyboardProviderno longer forcesstatusBarTranslucent/navigationBarTranslucent. Set them viakeyboardProviderPropsif you need them. isAlignedTopcut off chats taller than the screen, which then could not be scrolled.- Reanimated 4 logged "Dependencies should only be used on the web" on every render.
Maintenance
- Example app on Expo SDK 58 (React Native 0.88, gesture-handler 3, Reanimated 4.7); iOS builds again. New "Top Aligned (short chat)" screen.
- Dev toolchain on React Native 0.88, Jest 30,
@testing-library/react-native14, ESLint 10. Peer dependency ranges unchanged. - Tests for the bubble sent / received / pending indicators by @Himanshu1281 in #2764.
Full Changelog: 3.4.2...3.5.0