Skip to content
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

Adding the ability to specify Cordova and NPM plugin parameters in extension dependencies #6480

Open
Jurfix opened this issue Mar 27, 2024 · 1 comment

Comments

@Jurfix
Copy link

Jurfix commented Mar 27, 2024

Description

I'm using a lot of Cordova plugins in one of my projects, now I'm trying to port them into GDevelop extensions and declare them using extension dependencies, one of these plugins is "cordova-plugin-customurlscheme", the problem is that this plugin requires a parameter to be specified , namely the scheme name, for example "--variable URL_SCHEME=mycoolapp", that is, the way I install the plugin in Cordova looks something like this: "cordova plugin add cordova-plugin-customurlscheme --variable URL_SCHEME=mycoolapp", the problem is, what if I try to add this plugin with a parameter in an extension dependency I get the error "name can only contain URL-friendly characters", I would like this not to throw an error, since many plugins require specifying a parameter and this would be useful.

Error logs:
build-log.txt

@EyadMahm0ud
Copy link

There is a useful extension that requires this feature already, pending for 2 years:
GDevelopApp/GDevelop-extensions#625

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants