mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 16:52:53 +08:00
33 lines
726 B
Markdown
33 lines
726 B
Markdown
# Chooser
|
|
|
|
```
|
|
$ ionic cordova plugin add cordova-plugin-chooser
|
|
$ npm install @awesome-cordova-plugins/chooser
|
|
```
|
|
|
|
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/chooser/)
|
|
|
|
Plugin Repo: [https://github.com/cyph/cordova-plugin-chooser](https://github.com/cyph/cordova-plugin-chooser)
|
|
|
|
File chooser plugin for Cordova.
|
|
|
|
The following must be added to config.xml to prevent crashing when selecting large files on Android:
|
|
```xml
|
|
<platform name="android">
|
|
<edit-config
|
|
file="app/src/main/AndroidManifest.xml"
|
|
mode="merge"
|
|
target="/manifest/application">
|
|
<application android:largeHeap="true" />
|
|
</edit-config>
|
|
</platform>
|
|
```
|
|
|
|
## Supported platforms
|
|
|
|
- Android
|
|
- iOS
|
|
|
|
|
|
|