Compatibility issue with isar_flutter_libs and 16KB Android page size (Sendbird Flutter SDK v4.5.1)

[Problem/Question]

We are concerned about compatibility issues related to the use of isar_flutter_libs in the sendbird_chat_sdk on Android 14+ devices that use 16KB page sizes. These devices may crash due to native .so libraries not being properly aligned.


[SDK Version]

sendbird_chat_sdk: 4.5.1


[Reproduction Steps]

  1. Use the Flutter SDK v3.32.6 with Dart SDK 3.8.1

  2. Add sendbird_chat_sdk: ^4.5.1 to pubspec.yaml

  3. Build and run the app on an Android device or emulator using 16KB page size (e.g. Pixel 6/7 on Android 14+)

  4. Observe runtime crashes (SIGBUS, Unsupported page size, etc.)

This is due to the inclusion of isar_flutter_libs as a dependency in the Sendbird SDK, which includes .so binaries not aligned for 16KB page size compatibility.


[Frequency]

Always, on affected Android devices using 16KB memory page sizes (e.g. Pixel 6, 7, or newer running Android 14 or later).


[Current impact]

This can cause critical crashes when the app is installed on devices with 16KB memory page sizes, which are increasingly common on newer Android devices.

We need to address this issue before November due to our release and compliance timelines.


:pushpin: Request

Is the Sendbird team planning to update the SDK to use an isar version that includes support for Android 16KB page sizes?

Or are there any suggested workarounds until an official update is available?


Hi @heeso.kim

Our engineering team has investigated the issue and found that the fix will be addressed by the Isar community. Once the updated version of the Isar package is released, we will promptly update our Flutter Chat SDK to incorporate the fix.

Thanks!

Hi @heeso.kim,

The Flutter Chat SDK v4.6.0-dev.1 has been released with the integration of the Isar dev version, which supports 16KB page size.

Release notes: https://github.com/sendbird/sendbird-chat-sdk-flutter/blob/master/CHANGELOG.md

Pub.dev: https://pub.dev/packages/sendbird_chat_sdk

Please try using this dev build for now or wait until the official production version of Isar is released. At that point, we will provide a stable SDK release.

1 Like