Replies: 3 comments 3 replies
-
Make sure to keep your .env files in your .gitignore. It is a major security risk to commit. The EAS documentation says:
|
Beta Was this translation helpful? Give feedback.
-
Thanks @goatandsheep but if I don't commit my |
Beta Was this translation helpful? Give feedback.
-
Ok so I managed to understand that the My next question: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello :)!
The push on the app store approaching for my app, I'm trying to understand how this package works with EAS build. Actually, I have these files on my projects:
.env.development
for the keys used in dev mode, locally on my computer.env.production
for the keys used when doingexpo publish --clear
, for testing the app on real devicesI'm a bit confused. This
env.production
file won't be used in EAS build right? It's gonna switch to EAS secrets defined on my expo website under that link https://expo.dev/accounts/ACCOUNT_NAME/projects/PROJECT_NAME/secrets, or am I wrong?Kind regards
Beta Was this translation helpful? Give feedback.
All reactions