[Crashlytics] Enable data collection by default

Enable data collection by default, so crashes are hopefully logged.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
swiftingly
Christopher Snowhill 2022-06-17 19:18:05 -07:00
parent fa177fe96c
commit 82e3f7bd9a
1 changed files with 2 additions and 0 deletions

View File

@ -165,6 +165,8 @@ void *kAppControllerContext = &kAppControllerContext;
while(!submitCompleted) {
[[NSRunLoop currentRunLoop] runUntilDate:[NSDate dateWithTimeIntervalSinceNow:0.01]];
}
[FIRAnalytics setAnalyticsCollectionEnabled:YES];
#ifdef DEBUG
// Prevent updates automatically in debug builds