Skip to content

Commit

Permalink
Merge pull request #9 from monsterstack/master
Browse files Browse the repository at this point in the history
Handle case where Firebase App is already set up
  • Loading branch information
EddyVerbruggen authored Oct 15, 2017
2 parents 8be1eab + 02352ce commit 2b45044
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 2b45044

Please sign in to comment.