iOS File Picker

Contents

Opens the file picker on iOS for the user to select a file, returns a file URI.

https://github.com/jcesarmobile/FilePicker-Phonegap-iOS-Plugin

Stuck on a Cordova issue?

Installation

Community Enterprise
ionic cordova plugin add cordova-plugin-filepicker npm install @ionic-native/file-picker
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More   or   Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/file-picker

Supported Platforms

  • iOS

Usage

import { IOSFilePicker } from '@ionic-native/file-picker/ngx';

constructor(private filePicker: IOSFilePicker) { }

...

this.filePicker.pickFile()
  .then(uri => console.log(uri))
  .catch(err => console.log('Error', err));