Improvement - Application group identifier

Use the property `applicationGroupIdentifier` of the MXSDKOptions sharedInstance.
This commit is contained in:
Giom Foret
2017-08-24 15:18:23 +02:00
parent 77cce147b8
commit dcd375e830
2 changed files with 5 additions and 3 deletions
@@ -61,7 +61,7 @@ typedef NS_ENUM(NSInteger, ImageCompressionMode)
[[NSNotificationCenter defaultCenter] addObserver:sharedInstance selector:@selector(suspendSession) name:NSExtensionHostDidEnterBackgroundNotification object:nil];
// Apply the application group
[MXKAppSettings standardAppSettings].applicationGroup = @"group.im.vector";
[MXSDKOptions sharedInstance].applicationGroupIdentifier = @"group.im.vector";
});
return sharedInstance;
}