I followed the docs on secret variables in eas but it crashes my app in production. My steps:
- Create the secrets in expo dashboard
- Check in cli running eas secret:list and they are there
- Access the variables in my javascript code by using process.env.*
- When I run the ios preview using eas build -p ios --profile preview it crashes when I open the app.
before this I was just using a string constant. Now I want to put those values into secrets. Meaning that the app works before adding process.env.
I am wondering if maybe I missed anything to add to my eas.json or app.json files?