Notifications: Make them work in debug mode

Fix #4274.

Only the app needs MXUIKitBackgroundModeHandler.
This commit is contained in:
manuroe
2021-04-29 09:21:16 +02:00
parent 3f73543237
commit eabf33df7d
3 changed files with 4 additions and 3 deletions
+3
View File
@@ -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
}