I've kept myself from using Firebase Analytics and Crash Reports because there was no way of disabling Crash Reporting.
I've seen the answers on other questions but not offered a proper way of doing it.
I've read an interesting thing on Firebase blog: https://firebase.googleblog.com/2017/03/take-control-of-your-firebase-init-on.html
I wonder, could this be used do disable analytics and crash reporting? I mean, heaving something like:
if (user.wantsAnalytics()){
FirebaseApp.initializeApp(this, builder.build());
}else{
//do nothing and no analytics or crash reports will be sent.
}
If firebase isn't initialized, would push messaging still work?