Skip to content

Commit 72a836d

Browse files
sunnylqmclaude
andcommitted
fix(android): rebuild prebuilt librnupdate.so with hbc transform symbols
The Android library ships prebuilt .so files (jniLibs.srcDirs = ./lib); the previous commit changed native sources without rebuilding them, so NativeUpdateCore.getHbcTransformVersion had no JNI implementation and getConstants crashed the app at startup (caught by the Local Update Merge e2e). Rebuilt all four ABIs via scripts/build-android-so.sh and added the new symbol to verify-android-so.js so a stale prebuilt fails verification instead of shipping. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 633d15c commit 72a836d

5 files changed

Lines changed: 1 addition & 0 deletions

File tree

8.98 KB
Binary file not shown.
6.67 KB
Binary file not shown.
10.3 KB
Binary file not shown.
9.32 KB
Binary file not shown.

β€Žscripts/verify-android-so.jsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const REQUIRED_SYMBOLS = [
2727
'Java_cn_reactnative_modules_update_DownloadTask_buildCopyGroups',
2828
'Java_cn_reactnative_modules_update_UpdateContext_syncStateWithBinaryVersion',
2929
'Java_cn_reactnative_modules_update_UpdateContext_runStateCore',
30+
'Java_cn_reactnative_modules_update_NativeUpdateCore_getHbcTransformVersion',
3031
];
3132

3233
const SHT_DYNSYM = 11;

0 commit comments

Comments
Β (0)