diff --git a/CHANGES.rst b/CHANGES.rst index 208a9fd17..23e530069 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -11,6 +11,7 @@ Changes to be released in next version * RoomVC: Avoid navigation to integration management using integration popup with settings set to integration disabled (#4261). * RiotSettings: Logging out resets RiotSettings (#4259). * RoomVC: Crash in `setScrollToBottomHidden` method (#4270). + * Notifications: Make them work in debug mode (#4274). ⚠️ API Changes * diff --git a/Config/AppConfiguration.swift b/Config/AppConfiguration.swift index 7a8259772..597876852 100644 --- a/Config/AppConfiguration.swift +++ b/Config/AppConfiguration.swift @@ -44,6 +44,9 @@ class AppConfiguration: CommonConfiguration { // Each room member will be considered as a potential contact. MXKContactManager.shared().contactManagerMXRoomSource = MXKContactManagerMXRoomSource.all + // Use UIKit BackgroundTask for handling background tasks in the SDK + MXSDKOptions.sharedInstance().backgroundModeHandler = MXUIKitBackgroundModeHandler() + // Enable key backup on app MXSDKOptions.sharedInstance().enableKeyBackupWhenStartingMXCrypto = true } diff --git a/Config/CommonConfiguration.swift b/Config/CommonConfiguration.swift index 57fdb56a9..1583fdc78 100644 --- a/Config/CommonConfiguration.swift +++ b/Config/CommonConfiguration.swift @@ -63,9 +63,6 @@ class CommonConfiguration: NSObject, Configurable { // Disable identicon use sdkOptions.disableIdenticonUseForUserAvatar = true - // Use UIKit BackgroundTask for handling background tasks in the SDK - sdkOptions.backgroundModeHandler = MXUIKitBackgroundModeHandler() - // Pass httpAdditionalHeaders to the SDK sdkOptions.httpAdditionalHeaders = BuildSettings.httpAdditionalHeaders