Replies: 3 comments 4 replies
|
I found the |
0 replies
|
I resolved using Next env. Create your .env.local file and put your vars with NEXT_PUBLIC_ prefix for each |
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.jsonwith{{env.BASE_URL}}however these only works with env variables set on the command line. After that, I tried usingreact-native-dotenvor anything like that, didn't really affected theprocess.envon the React code.Is there a specific way I haven't seen?
All reactions