I want to use firebase performace monitoring in a big android multidex application, who's using modules. So I add apply plugin
and dependencies
to my gradle file. But my build time increased too much. So tell me how to create a no-op version in debug builds. My problem is that I don't want apply plugin
in gradle file (because it is still BETA) in debug and release build, only in alpha build.
Solution is now proven:
buildTypes
{
debug
{
manifestPlaceholders = [firebaseDisableMonitoring: true]
}
release
{
manifestPlaceholders = [firebaseDisableMonitoring: false]
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With