From b913d423a2b2702bb970a5d15f29aa32d9e4a6f3 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Wed, 12 Feb 2025 20:04:45 -0800 Subject: [PATCH] Crashlytics: Add consent preferences defaults These should have been defined already, but now they're the safe defaults that should spring the dialog on startup, and doesn't grant consent by default. Signed-off-by: Christopher Snowhill --- Application/AppController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Application/AppController.m b/Application/AppController.m index f041c190c..edfd81368 100644 --- a/Application/AppController.m +++ b/Application/AppController.m @@ -163,6 +163,8 @@ static AppController *kAppController = nil; #else [[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"NSApplicationCrashOnExceptions": @(YES) }]; #endif + [[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"crashlyticsConsented": @(NO), + @"crashlyticsAskedConsent": @(NO) }]; [FIRApp configure];