diff --git a/ios/RocketChatRN/AppDelegate.mm b/ios/RocketChatRN/AppDelegate.mm index 9ad9f329d..b3aa2a573 100644 --- a/ios/RocketChatRN/AppDelegate.mm +++ b/ios/RocketChatRN/AppDelegate.mm @@ -6,9 +6,9 @@ // #import "RNNotifications.h" #import "RNBootSplash.h" // #import "Orientation.h" -// #import -// #import -// #import + #import + #import + #import // #import // #if RCT_NEW_ARCH_ENABLED @@ -75,6 +75,15 @@ // [RNBootSplash initWithStoryboard:@"LaunchScreen" rootView:rootView]; // return YES; + + if(![FIRApp defaultApp]){ + [FIRApp configure]; + } + [Bugsnag start]; + + // AppGroup MMKV + NSString *groupDir = [[NSFileManager defaultManager] containerURLForSecurityApplicationGroupIdentifier:[[NSBundle mainBundle] objectForInfoDictionaryKey:@"AppGroup"]].path; + [MMKV initializeMMKV:nil groupDir:groupDir logLevel:MMKVLogInfo]; self.moduleName = @"RocketChatRN"; // You can add your custom initial props in the dictionary below.