Chooser
1
$ ionic cordova plugin add cordova-plugin-simple-file-chooser
2
$ npm install @awesome-cordova-plugins/chooser-simple-file
Copied!
File chooser plugin for Cordova.
The following must be added to config.xml to prevent crashing when selecting large files on Android:
1
<platform name="android">
2
<edit-config
3
file="app/src/main/AndroidManifest.xml"
4
mode="merge"
5
target="/manifest/application">
6
<application android:largeHeap="true" />
7
</edit-config>
8
</platform>
Copied!

Supported platforms

  • Android
    • iOS
Last modified 3mo ago