Skip to content

Enable plugin user input for plugin configurations #591

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

Closed
valentinstoychev opened this issue Jun 25, 2015 · 2 comments
Closed

Enable plugin user input for plugin configurations #591

valentinstoychev opened this issue Jun 25, 2015 · 2 comments

Comments

@valentinstoychev
Copy link

I'm creating a plugin which uses the Google APIs and I need to specify my API_KEY which should be used from the application.

I'm not sure where is the best place to specify this, but at the end it should be part of the ApplicationManifest.xml file for the Android runtime.

I see two options for this - to enable the tooling to "ask" for user input (in my case to ask for the proper API_KEY in the console) or the option would be allow some kind of a configuration file for the plugin which can be read by the CLI.

Do we know how this problem is solved in NPM?

@valentinstoychev
Copy link
Author

I guess we can create an experience similar to how "npm init" works - e.g. asking predefined questions and then validating them and applying the values as configuration.

@ligaz
Copy link

ligaz commented Feb 26, 2016

We have introduced plugin variables support with version 1.4: #882

@ligaz ligaz closed this as completed Feb 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants