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

Commit 41b2209

Browse files
Don't scream about this in the logs
1 parent c6bb8a7 commit 41b2209

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/firebase.ios.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -612,8 +612,7 @@ firebase.init = arg => {
612612
TIMESTAMP: FIRServerValue.timestamp()
613613
};
614614
}
615-
} catch (e) {
616-
console.log(e);
615+
} catch (ignore) {
617616
}
618617

619618
arg = arg || {};
@@ -630,7 +629,7 @@ firebase.init = arg => {
630629
firebase.instance = FIRDatabase.database().reference();
631630
}
632631

633-
if (typeof(FIRStorage) !== "undefined") {
632+
if (typeof(FIRFirestore) !== "undefined") {
634633
// Firestore has offline persistence enabled by default
635634
if (arg.persist === false) {
636635
const fIRFirestoreSettings = FIRFirestoreSettings.new();

0 commit comments

Comments
 (0)