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

cordova-plugin-file (added by default) is skipped on android due to cordova-android dependency #12708

Open
veodko opened this issue Jul 12, 2023 · 3 comments

Comments

@veodko
Copy link

veodko commented Jul 12, 2023

I have noticed when building my Meteor app, that there is a warning about skipping the cordova-plugin-file in Android build due to unmatching depdendency cordova-android >= 12.0.0 introduced in cordova-plugin-file@8.0.0 literally in this commit: apache/cordova-plugin-file@1aaca40

Installing "cordova-plugin-file" for android -
Plugin doesn't support this project's cordova-android version. cordova-android: 10.1.2, failed version requirement: >=12.0.0
Skipping 'cordova-plugin-file' for android

However, I did not even install this plugin anywhere. I also checked all of my cordova plugins and their dependencies, it's in none of them. I eventually found out it's Meteor that adds this plugin by default (why?), and probably does it without any specific version constraint so it tries to install the latest version available.

@veodko
Copy link
Author

veodko commented Jul 18, 2023

Apparently I made a mistake and judged it's meteor that added this plugin, but in fact it's https://github.com/silkimen/cordova-plugin-advanced-http which has

  <dependency id="cordova-plugin-file" version=">=2.0.0"/>

Anyway, It's weird that it carelessly installs the newest version available which matches this pattern without actually checking for compatibility. I guess it's the plugin maintainer who should fix this?

@LeonardoRafaelDev
Copy link

has this been resolved? maybe i know the solution

@StorytellerCZ
Copy link
Collaborator

@LeonardoRafaelDev it is still open so I think it still needs fixing. What do you have in mind?

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

No branches or pull requests

3 participants