ionic-plugin-externalsdcardpath

1.0.0 • Public • Published

Cordova Android external SD card path plugin

Plugin that returns the path of internal and external sd card.

Using

Install the plugin

$ cordova plugin add https://github.com/teamSolutionAnalysts/ionic-plugin-ExternalSdCardPath.git
    var success = function(message) {
        var path = JSON.parse(message);
        console.log(path.SDCard.external);
    }
 
    var failure = function() {
        alert("Error calling external Plugin");
    }
 
    externalsd.getPath("microSD", success, failure);

You can access path of external and internal by following this way:

1) path.SDCard.external 
2) path.SDCard.internal 

Install Android platform

cordova platform add android

More Info

For more information on setting up Cordova see the documentation

For more info on plugins see the Plugin Development Guide

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i ionic-plugin-externalsdcardpath

Weekly Downloads

2

Version

1.0.0

License

ISC

Last publish

Collaborators

  • jaym2503