I am searching a way to remove jetpack compose testtags in release builds.
I am searching a way to remove jetpack compose testtags in release builds.
Not sure if there's something out-of-the-box on rc02.
But you can do the following:
fun Modifier.testTagDebug(tag: String): Modifier =
if (BuildConfig.DEBUG) this.testTag(tag) else this