How to use env variables added from console in code? #1815
Replies: 3 comments
-
Hey @engineerliz you can check this guide on how to do it https://docs.codemagic.io/yaml-basic-configuration/using-environment-variables/ |
Beta Was this translation helpful? Give feedback.
-
Hi @engineerliz, Please review this document as well to see how you can access the Environment Variables that you assigned on Codemagic UI. We also have a video in the above link that you can review. |
Beta Was this translation helpful? Give feedback.
-
This discussion is being closed due to no activity in the last 14 days. You can reopen the discussion at any time if needed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Flutter (Dart)
Steps to reproduce
I added environment variables through the UI:

I can't find documentation on how to actually use these variables in the Flutter code
Expected results
refer to the variable values in the code
Actual results
can't find the syntax for how to do this
Build id (optional)
No response
Beta Was this translation helpful? Give feedback.
All reactions