[Interest] Android and iOS: how to easily handle 'staging' and 'production' versions ?

Gian Maxera gmaxera at gmail.com
Tue May 17 13:40:02 CEST 2016


Hello all,
I often need to keep two version of the app: ‘production’ that it’s the current app live on the stores and ‘staging’ that it’s an app deployed only to the client and testers for the new upcoming release.

Of course, I don’t want to use the same package name for the apps, so let’s suppose I’d like to have: ‘com.mycompany.staging.coolapp’ for staging and ‘com.mycompany.coolapp’ for the one on stores.

For now, switching from one build to another build, it require my to manually change the java source directory tree, the java package name at the top of each java class declaration, the package name into AndroidManifest and Info.plist.

Do you find an automatic way to handle this switch of build environments easily ?

Thanks,
Gianluca.





More information about the Interest mailing list