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

Generated tmp.xcconfig for ios is always empty and all enviroment variables are null #23

Open
sspatari opened this issue Oct 22, 2020 · 3 comments

Comments

@sspatari
Copy link

sspatari commented Oct 22, 2020

image
The .env that I create is at the root level
image
am I doing something wrong here.

For Android it works but not for IOS.

@llama95
Copy link

llama95 commented Mar 5, 2021

RUN AWAY! They dont update anything or respond to any open issues. Use this dep instead https://pub.dev/packages/flutter_dotenv

@edTheGuy00
Copy link
Member

edTheGuy00 commented Apr 18, 2021

This may be because you might need to follow the iOS setup guide

See #10 (comment) for more details

@nehamallama Hi again, You seem to have enough free time to be commenting on all issues. That free time could be used on something productive like helping out on a free and open source library. Just a suggestion 🙂

@nepsians
Copy link

nepsians commented Nov 22, 2021

I was also having similar issue. Worked nicely on android but was not working on iOS, even though i had correctly configured all the setup properly. So, i started exploring codes in .symlinks/plugins/flutter_config and found out that my .env file had spacing that was causing the problem.

.env.stag[Previously]
APP_NAME = "DEMO APP NAME"

.env.stag[Updated]
APP_NAME="DEMO APP NAME

Then it worked

REF: Regex for ENV that is being used

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

4 participants