Replies: 3 comments 4 replies
-
I found the |
Beta Was this translation helpful? Give feedback.
0 replies
-
@mendoza hello, thanks for this question, have you tried using dotenv package? I know we have used it with great success |
Beta Was this translation helpful? Give feedback.
3 replies
-
I resolved using Next env. Create your .env.local file and put your vars with NEXT_PUBLIC_ prefix for each |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
I'm working on a TV app right now, and I want to be able to use .env files for certain configurations (like the base url for the api),
I tried using a field on my runtime config on my
renative.json
with{{env.BASE_URL}}
however these only works with env variables set on the command line. After that, I tried usingreact-native-dotenv
or anything like that, didn't really affected theprocess.env
on the React code.Is there a specific way I haven't seen?
Beta Was this translation helpful? Give feedback.
All reactions