FilePath

Improve this doc

$ ionic plugin add cordova-plugin-filepath

Repo: https://github.com/hiddentao/cordova-plugin-filepath

This plugin allows you to resolve the native filesystem path for Android content URIs and is based on code in the aFileChooser library.

Supported platforms

Usage

import {FilePath} from 'ionic-native';

FilePath.resolveNativePath(path)
  .then(filePath => console.log(filePath);
  .catch(err => console.log(err);

Static Members

resolveNativePath(path)

Resolve native path for given content URL/path.

Param Type Details
path String

Content URL/path.

Returns: Promise<string>

API

Native

General