awesome-cordova-plugins/docs/plugins/chooser/README.md

33 lines
726 B
Markdown
Raw Normal View History

2021-09-29 20:09:02 +08:00
# Chooser
```
$ ionic cordova plugin add cordova-plugin-chooser
2021-09-29 21:19:55 +08:00
$ npm install @awesome-cordova-plugins/chooser
2021-09-29 20:09:02 +08:00
```
2021-09-29 21:19:55 +08:00
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/chooser/)
2021-09-29 20:09:02 +08:00
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
2021-09-29 20:38:45 +08:00