Back in 2023 I wrote a post with a very similar title

It’s been a while since I first wrote the original post on this topic, and I was quite surprised with how many people actually found that useful.

That original post has now become quite outdated though and I want to revisit this topic to show how much easier it is to do this now. Also how you can ensure that nothing leaks into your production bundle.

Whats changed?

A few different things happened that make the process simpler today.

Built in support for envs on Expo

At the time of the original post there wasn’t a built in solution for environment variables on expo and we made use of expo constants. This works but requires a few more steps.

[https://docs.expo.dev/guides/environment-variables](https://docs.expo.dev/g…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help