Enable/disable Crashlytics reporting.
Use this for opt-in first user data collection flows combined with firebase.json settings to disable auto collection.
firebase.json
const crashlytics = getCrashlytics();// Disable crash reportingawait setCrashlyticsCollectionEnabled(crashlytics, false); Copy
const crashlytics = getCrashlytics();// Disable crash reportingawait setCrashlyticsCollectionEnabled(crashlytics, false);
A crashlytics instance.
A boolean value representing whether to enable Crashlytics error collection.
Enable/disable Crashlytics reporting.
Use this for opt-in first user data collection flows combined with
firebase.jsonsettings to disable auto collection.Example