Cordova Depends Version string must look like semver error


#1

Working on a mobile package with splashscreen dependencies.

Cordova.depends({
‘org.apache.cordova.splashscreen’: ‘1.0.0’
});

The above works. However, theres a fatal error in version 1.0.0 and I cant use it. Fortunately, they’ve patched it in a fork of the plugin @ ‘https://github.com/TheBosZ/cordova-plugin-splashscreen/tarball/891cbf29bf0a7194f637fac4987c1ff4da97f146ss

So I should be able to do this…

Cordova.depends({
‘org.apache.cordova.splashscreen’: ‘https://github.com/TheBosZ/cordova-plugin-splashscreen/tarball/891cbf29bf0a7194f637fac4987c1ff4da97f146ss’,
});

But its giving me there error Cordova Depends Version string must look like semver error. What gives?


#2

Well, if anyone ever runs across this. It looks like meteor packages the splash screen plugin automatically, so you don’t have to add an extra one. It also means unfortunately that you cant change the fork of the one you use, since it will count it as a duplicate.