-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
I discovered this plugin just the other day, which has helped me drastically strip down the required code for my project's "file import" process (i.e.: replacing both cordova-plugin-filepicker for iOS and cordova-plugin-filechooser for Android), however I am having issues on some of older platform versions..
the process in which I use this plugin is only for opening JSON files, so I do want to have the MIME type set to application/json to limit file selection options.
is there any information available on the minimum supported platform versions with this plugin? I can't see anything in the readme or plugin.xml files..
on Android:
- API 21, 22, 23 and 24: setting the MIME type to
application/jsondisables every file, including those with the.jsonextension. - API 29: everything is good
on iOS:
10.3.3: trying to load the file chooser just kills my app outright, no errors- 11.x: don't have any devices to test with
- 12.1: appears to be fine, but I haven't tested thoroughly yet
- 13.5.1: everything is good
edit: I just had a closer look and I see
@available(iOS 11.0, *)onChooser.switchline 154..
Metadata
Metadata
Assignees
Labels
No labels