Skip to content

Commit cf90ca8

Browse files
authored
Add flag to enable/disable performance monitoring plugin (firebase#907)
1 parent 375c1ae commit cf90ca8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

perf/app/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ android {
2020
minifyEnabled false
2121
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2222
}
23+
debug {
24+
FirebasePerformance {
25+
// Set this flag to 'false' to disable @AddTrace annotation processing and
26+
// automatic HTTP/S network request monitoring
27+
// for a specific build variant at compile time.
28+
instrumentationEnabled true
29+
}
30+
}
2331
}
2432
}
2533

0 commit comments

Comments
 (0)