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 <kode54@gmail.com>
This commit is contained in:
parent
7543020291
commit
b913d423a2
1 changed files with 2 additions and 0 deletions
|
@ -163,6 +163,8 @@ static AppController *kAppController = nil;
|
|||
#else
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"NSApplicationCrashOnExceptions": @(YES) }];
|
||||
#endif
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"crashlyticsConsented": @(NO),
|
||||
@"crashlyticsAskedConsent": @(NO) }];
|
||||
|
||||
[FIRApp configure];
|
||||
|
||||
|
|
Loading…
Reference in a new issue