Skip to content

Sample File sharing application using jxcore-cordova plugin

Notifications You must be signed in to change notification settings

jxcore/file-sharing

Repository files navigation

File sharing

JXcore cordova application that shares files between itself and browsers. You just have to navigate to provided url for using it in browser.

Android Browser

Install from Google Play or build yourself:

Clone repository:

git clone https://github.com/karaxuna/file-sharing.git

Download and install JXcore. Then install necessary global node modules:

jx install cordova -g
jx install bower -g
jx install gulp -g
jx install ngpack -g

*Fix ngpack bug if you are nix user:

sudo apt-get install dos2unix
cd /usr/local/lib/node_modules/ngpack && sudo dos2unix ./**/*

Navigate to project root and install local dependencies:

cd file-sharing
jx install

Add cordova platforms:

cordova platforms add android
cordova platforms add ios

Download io.jxcore.node cordova plugin in the root of project, extract it with jxcore and then add it:

jx io.jxcore.node.jx
cordova plugins add io.jxcore.node

Add other necessary plugins:

cordova plugins add cordova-plugin-device
cordova plugins add org.apache.cordova.file-transfer

Run application:

gulp android

This command automatically installs bower packages and node packages for jxcore, builds ngpack and runs cordova on android platform. That's it! You can also run development server (localhost:8001) on computer and it will work just like application:

gulp start

It watches for changes in files and performs all necessary steps to rebuild project.

About

Sample File sharing application using jxcore-cordova plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published