Skip to content

Query regarding compatibility #31

@ZaLiTHkA

Description

@ZaLiTHkA

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions