fbjni 16 KB page-size fix: upgrade to 0.7.0
Artifact com.facebook.fbjni:fbjni · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
fixed
fbjni versions up to and including 0.6.0 that we measured ship 4 KB-aligned native libraries (offending for Google Play's 16 KB page-size requirement). The first measured aligned stable version is 0.7.0; the newest measured, 0.8.1, is aligned (16 KB).
10of 13 measured versions with native code ship 4 KB-aligned libraries
0.6.0: p_align = 4 KB (4096)0.7.0: p_align = 16 KB (16384)Thin lines: 4 KB cells. Heavy lines: 16 KB page boundaries.
How the verdict was reached
In version order, the 13 measured versions of com.facebook.fbjni:fbjni run as 2 stretches: com.facebook.fbjni:fbjni:0.0.2 to 0.6.0 offending (4 KB-aligned) (10 measured); then com.facebook.fbjni:fbjni:0.7.0 to 0.8.1 aligned (16 KB) (3 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
The boundary is exact: 0.7.0 is the very next published version after the last offending 0.6.0.
By repository file date, the last offending file (0.6.0) is from 2024-01-29 and the first aligned file (0.7.0) is from 2024-09-24, a gap of 239 days. Both dates are file times, not vendor release announcements.
Measured files by the year of their repository date:
- 2019: 1 offending (4 KB-aligned)
- 2020: 1 offending (4 KB-aligned)
- 2021: 4 offending (4 KB-aligned)
- 2023: 3 offending (4 KB-aligned)
- 2024: 1 offending (4 KB-aligned), 1 aligned (16 KB)
- 2026: 2 aligned (16 KB)
The offending versions fail on arm64-v8a and x86_64; Google's rule covers the 64-bit ABIs, so those are the two libraries the verdict reads.
Every version measured
13 of 13 published versions of com.facebook.fbjni:fbjni were downloaded and read: 10 offending, 3 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2019-09-20 to 2026-09-25. Newest first. Each version links to the file measured.
| Coordinate (group:artifact:version) | File date | Result | arm64-v8a p_align | x86_64 p_align |
|---|---|---|---|---|
com.facebook.fbjni:fbjni:0.8.1 | 2026-09-25 | aligned | 16 KB | 16 KB |
com.facebook.fbjni:fbjni:0.8.0 | 2026-09-25 | aligned | 16 KB | 16 KB |
com.facebook.fbjni:fbjni:0.7.0 | 2024-09-24 | aligned | 16 KB | 16 KB |
com.facebook.fbjni:fbjni:0.6.0 | 2024-01-29 | offending | 4 KB | 4 KB |
com.facebook.fbjni:fbjni:0.5.1 | 2023-07-24 | offending | 4 KB | 4 KB |
com.facebook.fbjni:fbjni:0.5.0 | 2023-07-24 | offending | 4 KB | 4 KB |
com.facebook.fbjni:fbjni:0.4.0 | 2023-06-20 | offending | 4 KB | 4 KB |
com.facebook.fbjni:fbjni:0.3.0 | 2021-11-22 | offending | 4 KB | 4 KB |
com.facebook.fbjni:fbjni:0.2.2 | 2021-03-24 | offending | 4 KB | 4 KB |
com.facebook.fbjni:fbjni:0.2.0 | 2021-03-04 | offending | 4 KB | 4 KB |
com.facebook.fbjni:fbjni:0.1.0 | 2021-02-22 | offending | 4 KB | 4 KB |
com.facebook.fbjni:fbjni:0.0.4 | 2020-08-24 | offending | 64 KB | 4 KB |
com.facebook.fbjni:fbjni:0.0.2 | 2019-09-20 | offending | 64 KB | 4 KB |
Measured evidence
4 KBp_align 4096 = 2^12
- verdict
- below the 16 KB requirement
- library file
jni/arm64-v8a/libc++_shared.so- file date
- Mon, 29 Jan 2024 09:41:26 GMT
- source
- artifact
16 KBp_align 16384 = 2^14
- verdict
- exactly the 16 KB requirement
- library file
jni/arm64-v8a/libc++_shared.so- file date
- Tue, 24 Sep 2024 10:29:19 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 0.8.1; the last offending one is 0.6.0. It ships 2 native libraries per ABI: libc++_shared.so, libfbjni.so. The verdict is the lowest p_align among them.
Lowest p_align of each native library file across the measured versions (in version order):
libc++_shared.so: 4 KB (offending) incom.facebook.fbjni:fbjni:0.2.0to0.6.0(7 versions); 16 KB (16 KB-compatible) incom.facebook.fbjni:fbjni:0.7.0to0.8.1(3 versions)libfbjni.so: 4 KB (offending) incom.facebook.fbjni:fbjni:0.0.2to0.6.0(10 versions); 16 KB (16 KB-compatible) incom.facebook.fbjni:fbjni:0.7.0to0.8.1(3 versions)
| Library file | ABI | p_align @ 0.6.0 | p_align @ 0.8.1 |
|---|---|---|---|
libc++_shared.so | arm64-v8a | 4 KB | 16 KB |
libc++_shared.so | x86_64 | 4 KB | 16 KB |
libfbjni.so | arm64-v8a | 4 KB | 16 KB |
libfbjni.so | x86_64 | 4 KB | 16 KB |
The Gradle change
implementation("com.facebook.fbjni:fbjni:0.6.0")implementation("com.facebook.fbjni:fbjni:0.7.0")an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 0.8.1). Check: ./gradlew :app:dependencyInsight --dependency fbjni --configuration releaseRuntimeClasspath
Method and sources
Measured from the published files in repo1.maven.org/maven2/com/facebook/fbjni/fbjni/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.
All 13 published versions were downloaded and measured.
Related artifacts
- React Native react-androidcom.facebook.react:react-android20 of 77 measured versions offending · fixed
- Hermescom.facebook.react:hermes-android25 of 41 measured versions offending · fixed
- Realm Java libraryio.realm:realm-android-library27 of 28 measured versions offending · fixed
- SQLCipher (sqlcipher-android)net.zetetic:sqlcipher-android7 of 24 measured versions offending · fixed
- Sentry NDKio.sentry:sentry-android-ndk24 of 27 measured versions offending · fixed
See also the Play 16 KB warning, per stack · deadlines · check all your dependencies. Want every library offline? The kit ($12), 14-day refund.