You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/json disables every file, including those with the .json extension.
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, *) on Chooser.switch line 154..
The text was updated successfully, but these errors were encountered:
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 andcordova-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:
application/json
disables every file, including those with the.json
extension.on iOS:
10.3.3: trying to load the file chooser just kills my app outright, no errorsThe text was updated successfully, but these errors were encountered: