Skip to main content

File Path

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

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.


$ npm install cordova-plugin-filepath $ npm install @ionic-native/file-path $ ionic cap sync

Supported Platforms#

  • Android



Learn more about using Ionic Native components in React


import { FilePath } from '@ionic-native/file-path/ngx';
constructor(private filePath: FilePath) { }
this.filePath.resolveNativePath(path)  .then(filePath => console.log(filePath))  .catch(err => console.log(err));