Background Download / Upload plugin for the NativeScript framework
How to use the plugin, see: source/README.md
Prerequisites
Get submodules
git submodule update --init
Build
To install dev dependencies:
To compile the TypeScript and create the npm package output in dist:
To compile, install in the example and run it in emulator
Or
To Run the Tests
The following command will build the plugin from source, add it to and build the example app and start the automation tests:
The tests use appium to interact with the app, and may start the upload server located in www.
iOS
The iOS API is implemented in JavaScript.
Android
The minimum supported API level is 18 and the background file upload is handled by the android-upload-service Open-Source library.