dotenv-java
dotenv-java copied to clipboard
the README.md android example is slightly wrong
Dotenv dotenv = Dotenv.configure()
.directory("/assets")
.filename("env"); // instead of '.env', use 'env'
dotenv.get("MY_ENV_VAR1");
should be
Dotenv dotenv = Dotenv.configure()
.directory("/assets")
.filename("env").load(); // instead of '.env', use 'env'
dotenv.get("MY_ENV_VAR1");
thanks for your work, PS: did you ever get to the bottom of the .env filename thing?