Swap the abandoned nodejs-mobile Node 12.19 runtime for the nodejs-mobile core Node 18.20.4 Android build, staged into the plugin by install-node18-runtime.sh (the cordova fork's Android side is still Node 12). Re-register the cordova-bridge linked binding via explicit napi_module_register(NM_F_LINKED), since Node 18's NAPI_MODULE_X macro drops the flag and process._linkedBinding could no longer find it. Verified on the x86_64 emulator: process.version=v18.20.4 and a full native<->node channel round-trip (device encryption key delivered). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| build-better-sqlite3-arm.sh | ||
| fix-better-sqlite3-android.sh | ||
| install-node18-runtime.sh | ||
| prepare-android-assets.js | ||
| sync-nodejs-project.sh | ||
| transpile-node12.js | ||