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
Add support for upcoming version of cordova #152
Comments
Yep, as soon as I upgraded to Cordova 9, I got this error:
|
Fix published to npm in |
I'm using 5.1.0 but still got that error. Was it solved on your end? @Badisi |
What stacktrace do you see if you run |
it's in the error dpogue linked |
That stacktrace is the old plugin version. 5.1 doesn't call reject on line 134. You should make sure it was updated. |
ok, how do i see if it's updated? my config.xml of cordova says |
Editing the version in config.xml and running cordova prepare doesn't update plugin. You need to remove and re-add the plugin using cordova cli. |
it's my first cordova project I just got from other company (that went bankrupt) the code. please tell me how to update. |
ok it works now. thanks! |
Replace requireCordovaModules() with require() to support cordova@9. See dpa99c/cordova-custom-config#152
…oid-support-gradle-release#37. Replace requireCordovaModules() with require() to support cordova@9. See dpa99c/cordova-custom-config#152.
…oid-support-gradle-release#37. Replace requireCordovaModules() with require() to support cordova@9. See dpa99c/cordova-custom-config#152.
@Annelies1 how did you manage to remove it, as when I call
|
The unique way (which I found) to do this work is to downgrade cordova to 8.1.2 |
I got TypeError: Cannot read property 'reject' of undefined also with cordova@9 |
I'm submitting a ...
Bug report
Current behavior:
Nightly build of cordova makes backward-incompatible changes.
ERROR: Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
A new major version of this plugin might probably need to be released in order to support it.
Steps to reproduce:
Use the latest cordova nightly build along with this plugin.
Environment information
The text was updated successfully, but these errors were encountered: