Skip to content

Commit 045154b

Browse files
Fix Default app has already been configured
1 parent 899d3c0 commit 045154b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ios/Firestack/Firestack.m

+3-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,9 @@ - (FIRApp *) firebaseApp
239239

240240
// if (!self.configured) {
241241

242-
[FIRApp configureWithOptions:finalOptions];
242+
if ([FIRApp defaultApp] == NULL) {
243+
[FIRApp configureWithOptions:finalOptions];
244+
}
243245
[Firestack initializeFirestack:self];
244246
callback(@[[NSNull null], props]);
245247
}

0 commit comments

Comments
 (0)