1.0.0 • Published 6 years ago
versioned-file-downloader v1.0.0
��# Versioned File Downloader
A package that uses the Expo FileSystem API to download files to a mobile device.
Why use this?
You need to download files to a mobile device, and you need to be able to download files again when their versions change.
Why not use this?
You're not downloading files to a mobile device
Usage
npm install --save versioned-file-downloader
or
yarn add versioned-file-downloader
And import like this
import versionedFileDownloader from 'versioned-file-downloader';
let downloadStatus = await versionedFileDownloader(
this.webViewDownloadStatusCallBack,
{
name: config.PACKAGE_NAME,
version: config.PACKAGE_VERSION,
files: FILES_TO_DOWNLOAD,
}
);