Join Slack
Powered by
Is there a good guide for adding a debug mode to t...
# 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) { … }
streetsofboston
04/17/2020, 6:06 PM
https://developer.android.com/studio/build/gradle-tips#simplify-app-development
s
Steve
04/17/2020, 6:09 PM
thanks
11
Views
Open in Slack
Previous
Next