Skip to content

zh-m/nativescript-background-http

 
 

Repository files navigation

Background Download / Upload plugin for the NativeScript framework

How to use the plugin, see: source/README.md

Prerequisites

Get submodules

git submodule update --init
npm install -g grunt-cli
npm install -g tsd
npm install -g appium

Build

To install dev dependencies:

npm install

To compile the TypeScript and create the npm package output in dist:

grunt

To compile, install in the example and run it in emulator

grunt ios

Or

grunt android

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:

grunt 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 62.7%
  • JavaScript 37.3%