Issue with expo app and convex, and how .env variables are loaded
Is there a way to have convex read
.env.development
rather than the default .env.local
The reason for asking is that i am using convex in a expo app where i store some production variables in a .env.production
which i use for testing the app against my prod convex deployment.
When i run
yarn dev --no-dev --minify
expo dev server loads the envs from .env.local
and .env.production
but that seems to end up with the production envs being overwritten by the ones in the .local
So i therefore can't seem to test my convex prod env against my expo app, without manually replacing the .env.local variables.
Any recommendations on what to do here for a better dev experience?0 Replies