I have been doing a lot of thinking and reading up on app environments (development, beta, prod, etc).
I am slowly starting to move away from having app environments and instead having 1 environment where the app behaves exactly the same way in all of them except that some values such as the package name and the API endpoints change.
Why is this?
Recently, I have started to have issues with Firebase Crashlytics not recording logs or crashes in 1 of my apps. That is because it is setup incorrectly I found out. Well, during development of my app, I have crashlytics off but it's on in beta and prod. I should instead of development have crashlytics installed but just have it point to a different app within Firebase console so that the errors are separated from each version of the app. Therefore, I can test to make sure that crashlytics, and all other features of my app, are always working.
Improve the readability of my app's code. Rather the thinking, "what is enabled and disabled depending on the app environment?" I can instead concentrate on the app working.
I have been doing a lot of thinking and reading up on app environments (development, beta, prod, etc).
I am slowly starting to move away from having app environments and instead having 1 environment where the app behaves exactly the same way in all of them except that some values such as the package name and the API endpoints change.
Why is this?
See this issue for more details.