Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio authored Dec 27, 2022
1 parent 38824db commit ab7a48a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ dotenv["MY_ENV_VAR1"]

<img src="assets/android-dotenv.png" width="350">

- Configure dotenv to search `./assets` for a file with name `env`
- Configure dotenv to search `/assets` for a file with name `env`

```kotlin
val dotenv = dotenv {
Expand All @@ -95,7 +95,7 @@ dotenv["MY_ENV_VAR1"]
dotenv["MY_ENV_VAR1"]
```

**Note:** The above configuration is required because dot files in `./assets` do not appear to resolve on Android. *(Seeking recommendations from the Android community on how `dotenv-kotlin` configuration should work in order to provide the best experience for Android developers)*
**Note:** The above configuration is required because dot files in `/assets` do not appear to resolve on Android. *(Seeking recommendations from the Android community on how `dotenv-kotlin` configuration should work in order to provide the best experience for Android developers)*

Alternatively, if you are using Provider `android.resource` you may specify

Expand Down

0 comments on commit ab7a48a

Please sign in to comment.