-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug: config.set not working #5696
Comments
Can you paste some of your code? Are you getting errors in the browser console? I added this to the conference app in the
and I am seeing the icons change to material design mode. |
CodePen: GitHub: App Code: I tried the commands in both the app.ts file, page1.ts file and a button click event in page1. I was able to get the config value to set for all environments by using the following command: When I tried to set it for a specific environment, it didn't work. I also tried your command and it didn't work. It now appears that the environment specific config.set does not work. I have a more complete example of code in the GitHub where I put the config statement in the app constructor, page constructor and a button event on page1. I also attached a zip file of the example code I was using. |
Thank you for the great code examples! I am able to see the problem now. 😄 |
Ok so the problem is the From
From your app directory:
To remove the linked version of |
I am not sure I am understanding the first set of tasks. I tried the gulp command on both a Mac and Windows machine. I navigated to: I also tried the ionic-angular directory in the app directory node_modules folder. Do I need to install additional npm packages? I did install gulp. |
Sorry. You'll have to clone this repository, then switch to the 2.0 branch, run |
I cloned the project and gave it a try. That fixed the issue. Thank you. |
Great! Thank you! The fix will be in the next release. 😄 |
Type: bug
Ionic Version: 2.x
Platform: all
I was trying to use config.set to set some parameters in the app.ts file using the argument syntax specified in the documentation --> set(platform, key, value) <--. I tried calling the command in the constructor and initializeApp methods.
The method does not appear to have any arguments in IntelliSense which leads me to believe that the method may not be implemented yet.
The get method appears to be fine.
Has config.set been implemented yet?
The text was updated successfully, but these errors were encountered: