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
7101527585
commit
5e4dd125dd
1 changed files with 2 additions and 0 deletions
|
@ -181,6 +181,8 @@ static AppController *kAppController = nil;
|
||||||
#else
|
#else
|
||||||
[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"NSApplicationCrashOnExceptions": @(YES) }];
|
[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"NSApplicationCrashOnExceptions": @(YES) }];
|
||||||
#endif
|
#endif
|
||||||
|
[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"crashlyticsConsented": @(NO),
|
||||||
|
@"crashlyticsAskedConsent": @(NO) }];
|
||||||
|
|
||||||
[FIRApp configure];
|
[FIRApp configure];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue