diff --git a/ios/rwallet/AppDelegate.m b/ios/rwallet/AppDelegate.m index a07c0c6b..0691eadb 100644 --- a/ios/rwallet/AppDelegate.m +++ b/ios/rwallet/AppDelegate.m @@ -18,10 +18,6 @@ @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - if ([FIRApp defaultApp] == nil) { - [FIRApp configure]; - } - [RNFirebaseNotifications configure]; RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"rwallet" @@ -36,7 +32,9 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( [self.window makeKeyAndVisible]; - [FIRApp configure]; + if ([FIRApp defaultApp] == nil) { + [FIRApp configure]; + } [RNNotifications startMonitorNotifications]; return YES;