github FaridSafi/react-native-gifted-chat 3.5.0

2 hours ago

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

CHANGELOG

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 both isInverted settings.

Bug Fixes

  • Android navigation bar overlapping the app after leaving the chat (#2755): the built-in KeyboardProvider no longer forces statusBarTranslucent / navigationBarTranslucent. Set them via keyboardProviderProps if you need them.
  • isAlignedTop cut 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-native 14, 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

Don't miss a new react-native-gifted-chat release

NewReleases is sending notifications on new releases.