[Crashlytics] Enable data collection by default

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

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2022-06-17 19:18:05 -07:00
parent fa177fe96c
commit 82e3f7bd9a

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