mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-03 22:56:57 +02:00
Add missed MXLogger calls in Analytics.
This commit is contained in:
@@ -75,6 +75,10 @@ import PostHog
|
||||
postHog?.enable()
|
||||
isRunning = true
|
||||
MXLog.debug("[Analytics] Started.")
|
||||
|
||||
// Catch and log crashes
|
||||
MXLogger.logCrashes(true)
|
||||
MXLogger.setBuildVersion(AppDelegate.theDelegate().build)
|
||||
}
|
||||
|
||||
private func identify(with settings: AnalyticsSettings) {
|
||||
@@ -99,6 +103,8 @@ import PostHog
|
||||
RiotSettings.shared.isIdentifiedForAnalytics = false
|
||||
|
||||
postHog = nil
|
||||
|
||||
MXLogger.logCrashes(false)
|
||||
}
|
||||
|
||||
func forceUpload() {
|
||||
|
||||
Reference in New Issue
Block a user