AI Briefing
KO

How to Install Dev and Prod Apps Simultaneously on One Device: Oliveyoung's DEV/PROD Environment Separation

·2025.12.25 03:00

Key point

Oliveyoung built an environment that allows simultaneous installation of development and production apps on a single device by separating app identifiers.

Details

Oliveyoung introduced a strategy to clearly separate development, QA, and production environments in order to reduce communication costs and minimize deployment risks. Previously, the same Application ID was used, causing the inconvenience of having to reinstall the app whenever switching environments.

On Android, they leveraged Gradle's Build Variant feature. Using productFlavors, they split production and develop, and managed the development app under a separate package name by appending a .dev suffix. They also separated SourceSets to configure different app icons and names for each environment.

On iOS, they redefined environments by restructuring Build Configuration and Scheme. Instead of using in-code preprocessing, they used xcconfig files to separate configuration values outside the code, structurally designing it so that environment settings would not be mixed in with the code.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.