Skip to content

Repository for demo applications that use Node.js on Mobile

Notifications You must be signed in to change notification settings

JaosnHsieh/nodejs-mobile-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

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 cordova@10.0.0 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:

About

Repository for demo applications that use Node.js on Mobile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 79.5%
  • C++ 17.4%
  • JavaScript 1.0%
  • Python 0.7%
  • Objective-C 0.3%
  • Java 0.3%
  • Other 0.8%