From 5e4dd125ddef58a5115b29fddf02825e2e7b551d 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 033c3c32e..547143802 100644 --- a/Application/AppController.m +++ b/Application/AppController.m @@ -181,6 +181,8 @@ static AppController *kAppController = nil; #else [[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"NSApplicationCrashOnExceptions": @(YES) }]; #endif + [[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"crashlyticsConsented": @(NO), + @"crashlyticsAskedConsent": @(NO) }]; [FIRApp configure];