title: Disable firebase crashlytics for Android
body: <p>I am developing an android app and have integrated the firebase and firebase crashlytics SDK. </p>
  
  <p>I want to allow the user to disable crash reporting (to ensure GDPR compliance - I assume crash reports are related to GDPR) so need a way for the user to be able to disable it via the apps settings. </p>
  
  <p>I found the docs at <a href="https://firebase.google.com/docs/crash/disable-sdk" rel="noreferrer">https://firebase.google.com/docs/crash/disable-sdk</a> but when I try and the line:</p>
  
  <pre><code>FirebaseCrash.setCrashCollectionEnabled(true);
  </code></pre>
  
  <p>Android Studio gives me the error <code>cannot resolve symbol 'FirebaseCrash'</code></p>
  
  <p>This needs to be done programatically at runtime of the app.</p>