From c74e2ba4900015aad69a65d29124c31d113b6c53 Mon Sep 17 00:00:00 2001 From: Richard <9120292+Reisclef@users.noreply.github.com> Date: Fri, 29 Jul 2022 13:01:28 +0100 Subject: [PATCH] Clarify code sample As per Firebase docs, if a user wants to opt out of crashlytics, you would set the value in setCrashlyticsCollectionEnabled to false, not true. https://firebase.google.com/docs/reference/swift/firebasecrashlytics/api/reference/Classes/Crashlytics#setcrashlyticscollectionenabled_: --- plugins/firebase-crashlytics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/firebase-crashlytics.md b/plugins/firebase-crashlytics.md index ffc99f51..424ebc01 100644 --- a/plugins/firebase-crashlytics.md +++ b/plugins/firebase-crashlytics.md @@ -76,7 +76,7 @@ As Crashlytics will be sending certain information regarding the user, users may ```ts import { firebase } from '@nativescript/firebase-core' -firebase().crashlytics().setCrashlyticsCollectionEnabled(true) +firebase().crashlytics().setCrashlyticsCollectionEnabled(false) ``` ## License