flutter_dotenv
flutter_dotenv copied to clipboard
Loads environment variables from `.env`.
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...
I was able to get all my .env files with all secrect keys from the apk, is it normal or when publishing to google play it will be different? just...
Hello. I would like this library to accept multiple files. Use case scenario: to have both `.env.local` and `.env` files, where my `.env` can be committed to the source control...
Hello guys, how I can concat var with new string, I try this, but doesn't work ``` BASE_URL=https://e229-2806-103e-15-22e7-2d18-3eeb-8994-4740.ngrok-free.app/ API_BASE_URL=$BASE_URL+api/ ```
The contents of the environment file is available in plaintext via a browser's developer tools under the network tab when using the dotenv package for a Flutter Web project. The...
I am using firebase for auth and on release mode, I am using dotenv package where I am declaring my firebase keys on main.dart file and it is working like...
Hello, I am trying to set the variables in the command line I am running `flutter run -d chrome ` How do I add the env variables to the command?
I am using flutter_dotenv 5.1.0 Everything works if I compile my flutter app locally: ``` import 'package:flutter_dotenv/flutter_dotenv.dart'; // Load .env file await dotenv.load(fileName: '.env'); // Initialize Stripe String myKey =...
When i try to load my `.env` file it shows this error: ``` Error while trying to load an asset: Flutter Web engine failed to fetch "assets/.env". HTTP request succeeded,...
According to [dotenv README](https://github.com/motdotla/dotenv?tab=readme-ov-file#multiline-values) there should be support for multiple lines. However when I try, it only loads the first one. .env ``` PRIVATE_KEY="-----BEGIN PRIVATE KEY----- ASDASDASDASDASD -----END PRIVATE KEY-----...