As I upload a new version of my app to Google Play I get a Pre-Launch testing report that\'s pretty nice and fine, but the issue is that most of the time the AI just wanders aro
You can detect a pre-launch test device with the following:
private boolean isTestDevice() {
String testLabSetting = Settings.System.getString(getContentResolver(), "firebase.test.lab");
return "true".equals(testLabSetting);
}
See: https://firebase.google.com/docs/test-lab/android/android-studio#modify_instrumented_test_behavior_for