Enabled bugsnag, firebase and mmkv. Build is now working on iOS
This commit is contained in:
parent
eb327c008f
commit
1a453ddabe
|
@ -6,9 +6,9 @@
|
|||
// #import "RNNotifications.h"
|
||||
#import "RNBootSplash.h"
|
||||
// #import "Orientation.h"
|
||||
// #import <Firebase.h>
|
||||
// #import <Bugsnag/Bugsnag.h>
|
||||
// #import <MMKV/MMKV.h>
|
||||
#import <Firebase.h>
|
||||
#import <Bugsnag/Bugsnag.h>
|
||||
#import <MMKV/MMKV.h>
|
||||
|
||||
// #import <React/RCTAppSetupUtils.h>
|
||||
// #if RCT_NEW_ARCH_ENABLED
|
||||
|
@ -76,6 +76,15 @@
|
|||
|
||||
// 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.
|
||||
// They will be passed down to the ViewController used by React Native.
|
||||
|
|
Loading…
Reference in New Issue