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

package.json references a version of cordova-ios that doesn't exist #2050

Closed
geoidesic opened this issue Nov 28, 2024 · 2 comments
Closed

package.json references a version of cordova-ios that doesn't exist #2050

geoidesic opened this issue Nov 28, 2024 · 2 comments

Comments

@geoidesic
Copy link

WARNING: IF YOU IGNORE THIS TEMPLATE, WE'LL IGNORE YOUR ISSUE. YOU MUST FILL THIS IN!

"cordova-ios": ">=10.0.0"

This line indicates that the minimum supported version of cordova-ios is v10. However, the current version of cordova-ios that's available is 7.1.1. There isn't a newer version on their repository. What gives?

Your Environment

  • Plugin version: 1.0.0
  • Platform: Mac OS X
  • OS version: 15.1
  • Device manufacturer / model: Macbook Pro M1
  • Cordova version (cordova -v): 12.0.0 (cordova-lib@12.0.1)
  • Cordova platform version (cordova platform ls): ios 7.1.1

Expected Behavior

Ideally it should be installable.

Actual Behavior

Gives an Unmet project requirements warning and then installs an old beta version

Steps to Reproduce

  1. cordova plugin add cordova-plugin-local-notification

Context

Install the plugin

Debug logs

% cordova plugin add cordova-plugin-local-notification
Unmet project requirements for latest version of cordova-plugin-local-notification:
    cordova-ios (7.1.1 in project, >=10.0.0 required)
Fetching highest version of cordova-plugin-local-notification that this project supports: 0.9.0-beta.2 (latest is 1.0.0)
@GitToTheHub
Copy link
Collaborator

Hi,

thanks for opening this issue. I corrected the incorrect dependency in package.json in 39d79c7.

I will make an update on npm.

Regards,

Manuel

@GitToTheHub
Copy link
Collaborator

Hi, the package was update on npm and also released a new version 1.1.0.

Regards

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

2 participants