You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2023. It is now read-only.
The instructions on how to use environment variables doesn't seem to be up-to-date because react-native-dotenv isn't included in package.json.
Is this just some old code still laying around, or should the comment include some instructions that a user should add that package? Or should that package be included in the boilerplate?
What's going on?
In the Ignite Bowser Expo template, there is an
.envfile. I can’t see that it is used in the boilerplate. It also says in the comment:The instructions on how to use environment variables doesn't seem to be up-to-date because
react-native-dotenvisn't included inpackage.json.Is this just some old code still laying around, or should the comment include some instructions that a user should add that package? Or should that package be included in the boilerplate?
Since the boilerplate now supports Expo, maybe
expo-constantsshould be the preferred way of using environment variables. https://docs.expo.io/guides/environment-variables/At the same time, the folder
app/config/contains files that allows a user to use those as some kind of environment variables.Steps to reproduce
.envignite doctorresults: