Skip to content

Commit

Permalink
Handle case where Firebase App is already set up
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Rote authored and Zachary Rote committed Oct 12, 2017
1 parent 8be1eab commit 02352ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ios/AppDelegate+FirebaseInvites.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ + (void)load {

- (BOOL)application:(UIApplication *)application swizzledDidFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[self application:application swizzledDidFinishLaunchingWithOptions:launchOptions];

[FIRApp configure];
if([FIRApp defaultApp] == nil){
[FIRApp configure];
}
return YES;
}

Expand Down

0 comments on commit 02352ce

Please sign in to comment.