-
Notifications
You must be signed in to change notification settings - Fork 356
fix(ios): set engines #191
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
base: master
Are you sure you want to change the base?
Conversation
Hi @breautek, was I wrong with my suggestions? I thought the Regards, Manuel |
Nope, it's not obsolete. It controls some checks on the Cordova CLI, and/or platforms when installing cordova plugins. Where the engines inside
In this case, it's set to CLI requirement |
Why does the documentation.) say for the
This sounds for me as the tag is obsolete and should be replaced by
There it says, it will replaces the Why do plugins work, if I remove the
If you do something on a plugin, you should keep that anyway in mind. It's strange to create a reminder like this for this. |
I already provided the context about the Cordova > 100 on the conversation we had on your PR, but in case you missed https://lists.apache.org/thread/lfnxoss879yqw0rbljqycms7r0g6vgy7 |
Thanks, I forgot about this link. So it's only to protect people installing a plugin which is maybe not compatible anymore with old cordova cli versions. For people who don't know about this will wonder and don't understand it's a entry for that. Could this be somewhere documented? So that have to be added in every plugin. |
I still don't get, why |
The plugin doesn’t require a specific CLI version at the moment, so the engines are in both places for backward compatibility. |
Ah yes, you are right. Couldn't it be specified to 6.1.0 here? |
In #138 I removed code for iOS < 8.3, so I'm setting the engine to at least cordova-ios 4.4.0 as it was when the deployment target was set to iOS 9 (yes, it was done in a minor).
While the code works on iOS 8+. there was a bug on 8.0 to 8.2 and I've removed the workaround, so better require iOS 9+.
I could set it to even a higher cordova-ios version if desired since those versions are ancient anyway.
Also moved the >100 to a 4.0.0 version so the 3.0.0 version of the plugin can be installed