Sarthak Sharma
05/26/2025, 5:02 AMFrançois
05/26/2025, 6:12 AMSarthak Sharma
05/26/2025, 6:40 AMAnonymike
05/26/2025, 3:04 PMAppConfiguration
and asset folders for different versions of our app. It allows us to swap out lottie animations, images, build names, etc. and uniquely configure different common screens. Using a kotlin class gives us a lot more flexibility to configure the app at runtime compared to env files.
We switch configurations with a configuration:switch -Dapp={appNameHere}
gradle task under the hood which does two things:
1. Replaces the configuration file in our app shared code with the app specific one.
2. Swaps out asset folders.
We do have a target for each app in XCode mainly for certificate and team configuration for testing and release builds.
Like @François said, use something like Truist if it makes sense for you. We went this route because we're not a fan of depending on third-party servers for basic needs like builds so we host the tools we can internally, but that leaves us limited in options for some things.Sarthak Sharma
05/27/2025, 6:30 AM