https://kotlinlang.org logo
#android-architecture
Title
# android-architecture
s

Steve

04/17/2020, 5:26 PM
Is there a good guide for adding a debug mode to the app that would only be enabled during debug builds? Like say specifically for being able to switch web server endpoints and turning on something like MockWebServer?
s

streetsofboston

04/17/2020, 6:05 PM
if (BuildConfig.DEBUG) { … }
s

Steve

04/17/2020, 6:09 PM
thanks
11 Views