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

Bitrise "Flutter Test" Error reading .env #98

Open
michelep2000 opened this issue Mar 13, 2024 · 1 comment
Open

Bitrise "Flutter Test" Error reading .env #98

michelep2000 opened this issue Mar 13, 2024 · 1 comment

Comments

@michelep2000
Copy link

michelep2000 commented Mar 13, 2024

In the documentation it says that we have to add the .env to the git ignore file, But i am using Bitrise that is a continuous integration tool that have one step named Flutter Test and it's failing because it's checking this .env and it doesn't exists.

I imagine that the error occurs when i call await dotenv.load(fileName: '.env'); and it's trying to read this .env that doesn't exist because it's not in the repository.

@jaxnz
Copy link

jaxnz commented May 1, 2024

Not sure if you got past this, but each app has files you can add in the settings
image

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