Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.77 KB

README.md

File metadata and controls

49 lines (29 loc) · 1.77 KB

steps to run hello word with nodejs-mobile-cordova^0.4.3

node -v -> v14.18.2

example: hello world node.js in android and ios

cd runnable/nodejs-mobile-hello-world-2022

npm run all

npx cordova run android or npx cordova run ios

example2: node.js udp broadcast client in android and ios

UPD broadcast only works in the same local network ( WIFI )

cd runnalbe/android-ios-udp-client-broadcast

npm run all

open another terminal then run node runnable/nodejs-mobile-hello-world-2022/www/nodejs-project/udp-broadcast-server.js

npx cordova run android or npx cordova run ios

created by cordova template

this repo is created by $ npx [email protected] create nodejs-mobile-hello-world-2022

Legacy

Original examples moved to legacy because it cannot run up and it's not actively maintained anymore 27 Oct 2021

Put runnable example in runnable

Node.js on Mobile - Code Samples

This is a collection of samples showcasing the use of Node.js on Mobile.

It contains the following samples: