-
Notifications
You must be signed in to change notification settings - Fork 366
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
updating platform in cordova causes error #73
Comments
Perhaps it can be solved by moving this line inside the iOS and Android platform blocks. Is that something you're willing to test? |
sure, I don't reallly understand what you want me to try, the code: is already in plugin.xml in www |
I've tried to add <preference name="URL_SCHEME" value="myapp" /> into <platform name="android"> and after other global perferences: <content src="index.html" /> and still getting the message about missing variable |
Created a new issue #76 with resolution of this problem |
If I have the plugin added and then add another platform, I get the error below:
cordova platform add browser
...
Installing "nl.x-services.plugins.launchmyapp" for browser
Failed to install 'nl.x-services.plugins.launchmyapp':Error: Variable(s) missing: URL_SCHEME
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:299:23
at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
My workaround is to do:
cordova plugin rm nl.x-services.plugins.launchmyapp
cordova platform add browser
cordova plugin add https://github.com/EddyVerbruggen/LaunchMyApp-PhoneGap-Plugin.git --variable URL_SCHEME=myscheme
It works but it is a pain.
Is there a solution to this?
m
and then
The text was updated successfully, but these errors were encountered: