All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Bump nodejs-mobile core library to v18.17.2
- Update node engine to v18.17.1
- Add activity lifecycle callbacks to
bridge
module- Add
onPause()
method - Add
onResume()
method
- Add
- Kill Node.js process when closing Electron app
- Provide types package for the
bridge
module as.tgz
- Fix
bridge
addListener callback only fired once
If you are upgrading: please see UPGRADING.md
.
- Add a types package for the
bridge
module (#6) - Allow manual startup of the Node.js runtime, pass environment variables and arguments (#8)
- Add
startMode
configuration - Add
start()
method
- Add
- Add API to get a writeable data directory on each platform
- Breaking: Change return type of
send()
method tovoid
- Rewrite the
bridge
module in TypeScript (#14) - Start the Node.js runtime as child process on Electron (#12, #15)
- Change loading mechanism of the
bridge
module to a built-in module (#12)
If you are upgrading: please see UPGRADING.md
.
- Update to Capacitor v5 (#11, #13)
- Breaking: Drop support for Capacitor v3 and v4
- Move native API behind a JavaScript wrapper
- Breaking: Change plugin name in Capacitor configuration from
NodeJS
toCapacitorNodeJS
- Breaking: Change plugin name in Capacitor configuration from
- Bump nodejs-mobile core library to v16.17.0
- Update node engine to v16.17.1
- Disable Android 32-bit x86 support for now
If you are upgrading: please see UPGRADING.md
.
- Add
whenReady()
method (#4)
- Breaking: Change loading mechanism of bridge module (manually adding the dependency to the NodeJS project is now required!)
- Breaking: Change default NodeJS project folder from the app's source directory to the subfolder
nodejs
- Fix bridge library not found when building Android app
- Fix bridge module not found after packaging Electron app
- Fix loading native implementations instead of the web implementation
First release.