LiquidCore enables Node.js virtual machines to run inside Android and iOS apps. It provides a complete runtime environment, including a virtual file system. LiquidCore also provides a convenient way for Android developers to execute raw JavaScript inside of their apps, as iOS developers can already do natively with JavaScriptCore. One of the newest features in 0.7.0+ is the ability to automatically bundle JavaScript files in the application build process. This is configured in the gradle-config and/or pod-config steps above. The bundling options are stored in the local package.json file in the liquidcore property. Bundling is a convenient way to test and package your JavaScript projects. The bundler uses Metro to package up all of your required node modules into a single file that can be packaged as a resource in your app. If you are running on the Android Emulator or iOS Simulator, you can run a local server on your development machine and hot-edit your JavaScript code.
Features
- LiquidCore requires the use of Cocoapods
- One of the newest features in 0.7.0+ is the ability to automatically bundle JavaScript files
- Make sure your project is configured for use with npm
- LiquidCore also provides a convenient way for Android developers to execute raw JavaScript
- It provides a complete runtime environment, including a virtual file system
- Configure your mobile app project