Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query regarding compatibility #31

Open
ZaLiTHkA opened this issue Jul 25, 2020 · 0 comments
Open

Query regarding compatibility #31

ZaLiTHkA opened this issue Jul 25, 2020 · 0 comments

Comments

@ZaLiTHkA
Copy link

ZaLiTHkA commented Jul 25, 2020

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant