-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Description
❓ 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 flutter_cached_pdfview.
- 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 flutter_cached_pdfview where Page Size 0x1000 = 2¹² (4 KB)
armeabi-v7a, arm64-v8a, and x86_64
| .so files | UNALIGNED ELF | .aar & .so file mapping |
|---|---|---|
| libjniPdfium.so | ![]() |
![]() |
| libmodpdfium.so | ![]() |
|
| libc++_shared.so | ![]() |
|
| libmodft2.so | ![]() |
|
| libmodpng.so | ![]() |
-
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"' \; -
flutter_cached_pdfview: 0.4.3
-
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
xVemu, VojtaMaiwald, Gagan5278, BigMenya, Youssefbenmlih and 6 moretunm1228 and ledinhquy123tunm1228
Metadata
Metadata
Assignees
Labels
No labels





