Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit bf6963d

Browse files
Prevent an 'FIROptions not found' error
1 parent 4380238 commit bf6963d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firebase.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ firebase.init = arg => {
327327
initializeArguments = arg;
328328

329329
// if deeplinks are used, then for this scheme to work the use must have added the bundle as a scheme to their plist (this is in our docs)
330-
if (FIROptions.defaultOptions() !== null) {
330+
if (FIROptions && FIROptions.defaultOptions() !== null) {
331331
FIROptions.defaultOptions().deepLinkURLScheme = NSBundle.mainBundle.bundleIdentifier;
332332
}
333333

0 commit comments

Comments
 (0)