@infrab4a/connect-angular 4.17.0-beta.3 → 4.17.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2681,6 +2681,10 @@ AngularConnectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
|
2681
2681
|
return appName ? getApp(appName) : getApp();
|
|
2682
2682
|
}
|
|
2683
2683
|
catch (error) {
|
|
2684
|
+
if (error instanceof Error) {
|
|
2685
|
+
console.warn('Firebase app not found, initializing new app');
|
|
2686
|
+
console.error(error.message);
|
|
2687
|
+
}
|
|
2684
2688
|
return initializeApp(injector.get(FIREBASE_OPTIONS), appName);
|
|
2685
2689
|
}
|
|
2686
2690
|
}),
|
|
@@ -2714,6 +2718,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
2714
2718
|
return appName ? getApp(appName) : getApp();
|
|
2715
2719
|
}
|
|
2716
2720
|
catch (error) {
|
|
2721
|
+
if (error instanceof Error) {
|
|
2722
|
+
console.warn('Firebase app not found, initializing new app');
|
|
2723
|
+
console.error(error.message);
|
|
2724
|
+
}
|
|
2717
2725
|
return initializeApp(injector.get(FIREBASE_OPTIONS), appName);
|
|
2718
2726
|
}
|
|
2719
2727
|
}),
|