GetStream / stream-chat-react-native

๐Ÿ’ฌ React-Native Chat SDK โžœ Stream Chat. Includes a tutorial on building your own chat app experience using React-Native, React-Navigation and Stream
https://getstream.io/chat/sdk/react-native/
Other
981 stars 325 forks source link

fix: add polyfill for Array.prototype.at #2752

Closed isekovanic closed 3 weeks ago

isekovanic commented 3 weeks ago

๐ŸŽฏ Goal

Since version v5.39.0 we've broken ES2020 compatibility in our SDK, which we still need to support because of our minimum RN version on v5 (v0.60.0). This proved to be an issue for some customers on Android (because of the internal JSC version used). With this polyfill, the issue should be gone.

๐Ÿ›  Implementation details

๐ŸŽจ UI Changes

iOS
Before After
Android
Before After

๐Ÿงช Testing

โ˜‘๏ธ Checklist

Stream-SDK-Bot commented 3 weeks ago

SDK Size

title develop branch diff status
js_bundle_size 450.828125 KB 451 KB 0 B ๐ŸŸข
stream-ci-bot commented 3 weeks ago

:tada: This PR is included in version 5.41.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: