nodejs-cordova-plugin-possible-fixed

Node.js for Mobile Apps Cordova plugin

Usage no npm install needed!

<script type="module">
  import nodejsCordovaPluginPossibleFixed from 'https://cdn.skypack.dev/nodejs-cordova-plugin-possible-fixed';
</script>

README

npm      

nodejs-cordova-plugin Build Status

This plugin is forked by the staging-babel-UI-runtime branch in order to have javascript files executables from every webView

NEWS

For every release there is the features list in CHANGELOG

  • Release 2.1.0 This is published but not working. So there will be a next 2.1.1 version after testing and retrocompatibles with cordova 7
Jenuary 19,2019 Release 2.1.0 available from npm
  • First Release 2.0.0
August 29,2018 Release 2.0.0 available from npm

Installation

$ cordova plugin add nodejs-cordova-plugin-fixed

Requirements

For the 2.1.0 new version in development:

  • Cordova 8.x or higher
  • iOS 11 or higher
  • Android API 21 or higher

When building an application for the Android platform, make sure you have the Android NDK installed and the environment variable ANDROID_NDK_HOME set, for example:

$ export ANDROID_NDK_HOME=/Users/username/Library/Android/sdk/ndk-bundle

Native Modules

If you want to skip rebuild native modules, that are not supported in windows 10, you have to add a NODEJS_MOBILE_BUILD_NATIVE_MODULES_VALUE.txt in your www cordova folder with a 0 value. That is:

echo "0" > www/NODEJS_MOBILE_BUILD_NATIVE_MODULES_VALUE.txt

Verified requirements

  • Cordova 8.0.0
  • Cordova android platform 6.3.0
  • Android 6.0.0 device

Example project here

Supported Platforms

  • Android (ARMv7a, x86)
  • iOS (ARM64)

Reporting Issues

We have a central repo where we manage all the issues related to Node.js for Mobile Apps, including specific issues of the Node.js for Mobile Apps Cordova plugin. So please, open the issue there.