diff --git a/Meshtastic/MeshtasticApp.swift b/Meshtastic/MeshtasticApp.swift index 9ce07142..1f9465f5 100644 --- a/Meshtastic/MeshtasticApp.swift +++ b/Meshtastic/MeshtasticApp.swift @@ -41,14 +41,16 @@ struct MeshtasticAppleApp: App { env: environment, site: .us5 ), - trackingConsent: UserDefaults.usageDataAndCrashReporting ? .granted : .notGranted + trackingConsent: UserDefaults.usageDataAndCrashReporting ? .granted : .notGranted, ) + DatadogCrashReporting.CrashReporting.enable() RUM.enable( with: RUM.Configuration( applicationID: appID, uiKitViewsPredicate: DefaultUIKitRUMViewsPredicate(), - uiKitActionsPredicate: DefaultUIKitRUMActionsPredicate() + uiKitActionsPredicate: DefaultUIKitRUMActionsPredicate(), + trackBackgroundEvents: true ) ) self._appState = ObservedObject(wrappedValue: appState)