flutter_dotenv icon indicating copy to clipboard operation
flutter_dotenv copied to clipboard

Bitrise "Flutter Test" Error reading .env

Open michelep2000 opened this issue 1 year ago • 1 comments

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.

michelep2000 avatar Mar 13 '24 13:03 michelep2000

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

jaxnz avatar May 01 '24 01:05 jaxnz