-
Notifications
You must be signed in to change notification settings - Fork 69
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 not allowing beta versions of plugins to run, instead requiring full version numbers. #165
Comments
Does any of your packages or plugins you have installed have a version format other than |
Hi Breautek, thanks for your quick response. I'll post below my plugin list in the config.xml, however I believe the problem to be the |
I'll mark this as a bug. I think cordova should support prerelease labels. They are perfectly valid in the semver spec. Meanwhile, a workaround could be installing the plugin from the git repo, assuming it is hosted in a git repo. You can install the plugin from git. e.g; Installing plugins from git should bypass semver version checks. Of course you lose out on automatic updating on minor/patch updates. |
My bad, I thought it would bypass semver checks but it appears it still goes through them anyway.On Oct. 19, 2019 9:25 a.m., Matthew Milan <[email protected]> wrote:Hi breautek,
So i've tried adding the local notification plugin using the git repo rather than the conventional cordova add <plugin>@latest and it when running cordova plugin list i noticed it was still pulling 0.9.0-beta3 as it's name, unfortunately meaning there isn't a way to add the plugin without forking and changing the version number.
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
|
The error (that is not an The same code also seems to be copied to I think PRs to fix this issue would be very welcome. If someone creates them, please request a review from me since I'm not watching those platform repos. |
Hi Raphinesse, I'm sorry it's not the best fix in the world, the semver spec is quite dynamic and has that many variants that it would take a while to process fully (unfortunately I don't have too much time on my hands) however this allows beta/alpha variants to work properly (or so it seems in my testing). Hope this helps someone in the future! |
Hi adminy, I noticed that a certain iOS plugin was running 1.10.0-beta3 even though no plugin I installed was of that version. To my knowledge (and I could be wrong), these plugins update near runtime in order to allow you to stay up to date so you won't know for sure. If you review my pull request above then modify that file in your local ios/osx setup then it will work as a temporary solution before I get the pull request submitted later today. |
Thank you @devleaf-matt your pull request worked, except it wasn't the |
Hi. I'm faced with same error few days ago. But I have no
Environment, Platform, Device Version information |
@sanyashvets Just do what I did |
Bug Report
Problem
When running
cordova run ios --device --verbose --target <IPHONE_TARGET>
after updating to MacOS 10.15 Catalina, cordova now returns:rather than going on to a successful IPA install and launch on my iPhone. After searching around it seems people have this problem with the google maps plugin, however I don't have this installed on my system. I have re-installed cordova, reinstalled cordova ios (platform removal and re-addition) and double checked my Cocoa pods version.
Information
Command or Code
cordova run ios --device --verbose --target <IPHONE_TARGET>
Environment, Platform, Device
VS Code | Ionic 4 | MacOS Catalina | iMac | iPhone 11 Pro
Version information
Cordova 8.1.2 (Lib 8.1.1)
XCode 11.1
Ionic 4 (CLI 5.4.4)
Checklist
The text was updated successfully, but these errors were encountered: