100ms-flutter icon indicating copy to clipboard operation
100ms-flutter copied to clipboard

❓ Update native .so files to support 16 KB page size alignment for Android 15+ devices [Deadline- November 1st, 2025]

Open IMRISHABH08 opened this issue 8 months ago • 14 comments

❓ Add Support for 16 KB Page Size for Android 15+ devices

  • While verifying the alignment between our Flutter app and the native dependencies (.so files) for the 16KB Page Size update, we’ve identified an issue with the native libararies bundled in hmssdk_flutter.
  • When inspecting the .so files in the generated .aab with your SDK(latest: 1.10.6), we found that several native libraries are built with a Page size 0x1000 = 2¹² (4 KB) instead 0x4000 = 2¹⁴ (~16 KB). This mismatch is preventing our Flutter app from fully supporting the 16KB page size requirement.

- UNALIGNED .so files from hmssdk_flutter where Page Size 0x1000 = 2¹² (4 KB)

  • armeabi-v7a, arm64-v8a, and x86_64
.so files UNALIGNED ELF .aar & .so file mapping
libyuv.so
libjingle_peerconnection_so.so
libkrisp-audio-sdk.so
  • Script to check ELF Alignment

  • Solution

  • For detailed mapping b/w .aar and .so files run this command from your home directory(MacOS). cd ~/.gradle/caches/modules-2/files-2.1 find . -name "*.aar" -exec sh -c 'echo {}; unzip -l "{}" | grep "\.so"' \;

  • hmssdk_flutter: 1.10.6

  • Flutter (Channel stable, 3.27.3, on macOS 15.1.1 24B91 darwin-arm64, locale en-IN) • Flutter version 3.27.3 on channel stable • Dart version 3.6.1 • DevTools version 2.40.2

IMRISHABH08 avatar Aug 08 '25 04:08 IMRISHABH08

+1

birhos avatar Sep 05 '25 19:09 birhos

+1

Mahmutcano avatar Sep 08 '25 06:09 Mahmutcano

+1

omerunall avatar Sep 08 '25 06:09 omerunall

+1

SeniorTurkmen avatar Sep 08 '25 06:09 SeniorTurkmen

+1

MertcanAlgan avatar Sep 08 '25 06:09 MertcanAlgan

+1

dot-ruth avatar Sep 17 '25 12:09 dot-ruth

+1

scsinke avatar Sep 18 '25 09:09 scsinke

+1

JPaardekooperMomo avatar Sep 18 '25 17:09 JPaardekooperMomo

Can people try #1839 I tried and this should work.

scsinke avatar Sep 18 '25 18:09 scsinke

+1

hassanali2596 avatar Oct 26 '25 11:10 hassanali2596

Support for 16kb page size + other critical changes have been added now. Refer: https://github.com/100mslive/100ms-flutter/releases/tag/1.11.0

ygit avatar Oct 29 '25 19:10 ygit

Support for 16kb page size + other critical changes have been added now. Refer: https://github.com/100mslive/100ms-flutter/releases/tag/1.11.0

@ygit Ok I'll check and update ! Meanwhile if someone unable to migrate their app to 16KB they can req to extend the deadline till 31st May'2026 from the Play Console.

IMRISHABH08 avatar Oct 29 '25 19:10 IMRISHABH08

@ygit thanks for your efforts on upgrading this. I had a question related to the increase of the iOS minimum version. Is the flutter version is not following the minimum version of the iOS sdk version?

scsinke avatar Oct 30 '25 10:10 scsinke

@ygit Current changes are aligned with 64 bit Architecture only- is there any update on 32 bit Architecture(armeabi-v7a) ?

    ndk {
        debugSymbolLevel 'FULL'
        abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64'
    }

IMRISHABH08 avatar Dec 10 '25 11:12 IMRISHABH08