Skip to content

Commit 70e8daf

Browse files
committed
Fix conflict with other Firebase Plugins
1 parent 3450d84 commit 70e8daf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/ios/Plugin/NotificationsV2Plugin.mm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,9 @@ static bool isFirebaseLinked() {
317317
}
318318

319319
// configure and connect
320-
[FIRApp configureWithOptions:firOptions];
320+
if([FIRApp defaultApp] == NULL){
321+
[FIRApp configureWithOptions:firOptions];
322+
}
321323
}
322324
#endif
323325

0 commit comments

Comments
 (0)