Home / Companies / Expo / Blog / Post Details
Content Deep Dive

Install dev and production side by side with app variants

Blog post from Expo

Post Details
Company
Date Published
Author
Jacob Clausen
Word Count
3,062
Company Posts That Month
8
Language
English
Hacker News Points
-
Post removed?
No
Summary

App variants offer a significant improvement in the development experience by allowing multiple builds of an app, such as development, preview, and production, to be installed side by side on a single device, each with its own unique identifier. This approach eliminates the repetitive process of uninstalling and reinstalling different builds for debugging purposes. The concept hinges on two independent settings: identity, which is the app's unique identifier, and environment, which includes variables that affect app behavior. Developers can configure app variants through dynamic configurations that read environment variables, enabling each variant to have distinct settings like API URLs and analytics keys. These configurations work in tandem with tools like EAS Build to manage builds and environment settings effectively, ensuring that each variant is correctly identified and behaves as expected. This method not only streamlines development workflows but also prevents potential issues like test data polluting production environments, making it a valuable enhancement for app developers.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.