You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/06/30 14:36:20 UTC
[GitHub] [cordova-android] breautek edited a comment on issue #756: How to run shell/Command Line Program/Unix Executable in cordova app?
breautek edited a comment on issue #756: How to run shell/Command Line Program/Unix Executable in cordova app?
URL: https://github.com/apache/cordova-android/issues/756#issuecomment-507041333
I can't speak for iOS very much but you cannot simply run native binaries on android. Android has something called NDK (Native Development Kit) to build native executables for android, callable from java code.
To make it accessible from your web app... you'll then also need to create a Cordova plugin.
Note that you can't simply include unix executables because most phones run on the arm or arm64 architecture, and most pcs run on x86/x64 architecture. You'll need to compile a binary for every architecture you want to support.
One final note... this might be old, but Apple did at one point of time had policies that forbid you from including your own implementation of webviews or javascript engines. On iOS you must use their javascript engine provided by the operating system. This means you cannot run Node on iOS.
Hope this helps you get started.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org