Closed davidofwatkins closed 4 years ago
@EddyVerbruggen Hi! Can we have this merged and release a new version with this fix included? This issue prevents us from updating to Cordova 9.
OK, thanks for asking. I'll do a major version bump in a minute.
@EddyVerbruggen thank you very much, really appreciate it!
@davidofwatkins it looks like you forgot to replace one more requireCordovaModule
in prepare-manifest.js
. Was there a reason for that?
@EddyVerbruggen should I create a separate PR to fix that?
@andreyqin Yes, that requireCordovaModule
is actually requiring a Cordova module, which as far as I understand is okay:
Is it causing trouble for you?
@davidofwatkins seems like you're right. Cordova has deprecated this method only for non-cordova modules and left it available for cordova-*
dependencies (https://github.com/apache/cordova-lib/issues/689). I'll let you know if I experience any trouble with it later. Thank you!
Cordova 9 throws an error when plugins use
requireCordovaModule()
for packages that aren't Cordova-related (see https://github.com/apache/cordova-cli/issues/416). This addresses that error in a few places used by Windows.