InternalStorage

The plugin will return the internal storage directory
wymsee0.1.01
platforms: android
$ cordova plugin add com.synconset.internalStorage

Cordova InternalStorage Plugin

Cordova/Phonegap Android plugin to retrieve the internal storage directory.

This plugin is based heavily on the cordova File plugin and depends on it.

Installation

//cordova
cordova plugin add https://github.com/TheKiteEatingTree/cordova-internalStorage.git

//phonegap
phonegap local plugin add https://github.com/TheKiteEatingTree/cordova-internalStorage.git

Usage

The plugin registers an internalStorage global. It has only 1 function: getDir. getDir returns a cordova/phonegap DirectoryEntry.

Example:

internalStorage.getDir(function(fileSystem) {
    //success callback
    console.log(fileSystem.root);
}, function() {
    //error callback
    console.warn("Could not open internal storage");
});

It was developed by Wymsee for SyncOnset