Skip to main content
Version: v5

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 @awesome-cordova-plugins/file-path
$ ionic cap sync

Supported Platforms

  • Android



Learn more about using Ionic Native components in React


import { FilePath } from '@awesome-cordova-plugins/file-path/ngx';

constructor(private filePath: FilePath) { }


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