@infrab4a/connect-angular 4.4.0-beta.12 → 4.4.0-beta.13
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.
|
@@ -8,7 +8,7 @@ import * as i1 from '@angular/fire/auth';
|
|
|
8
8
|
import { Auth, provideAuth, getAuth, getIdToken, authState } from '@angular/fire/auth';
|
|
9
9
|
import { isPlatformBrowser, isPlatformServer } from '@angular/common';
|
|
10
10
|
import * as i1$1 from '@angular/fire/firestore';
|
|
11
|
-
import { Firestore, provideFirestore,
|
|
11
|
+
import { Firestore, provideFirestore, initializeFirestore, memoryLocalCache, docSnapshots, doc } from '@angular/fire/firestore';
|
|
12
12
|
import * as i2 from '@angular/fire/storage';
|
|
13
13
|
import { Storage, provideStorage, getStorage } from '@angular/fire/storage';
|
|
14
14
|
import { combineLatest, from, of, throwError, Subject, iif, forkJoin } from 'rxjs';
|
|
@@ -414,10 +414,10 @@ AngularFirestoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
414
414
|
], imports: [AngularElasticSeachModule,
|
|
415
415
|
provideFirestore((injector) => {
|
|
416
416
|
const platformId = injector.get(PLATFORM_ID);
|
|
417
|
-
if (isPlatformServer(platformId))
|
|
418
|
-
return
|
|
419
|
-
|
|
420
|
-
|
|
417
|
+
if (isPlatformServer(platformId) || !MobileOperationSystemCheckerHelper.isAppleDevice())
|
|
418
|
+
return initializeFirestore(injector.get(FirebaseApp), {
|
|
419
|
+
ignoreUndefinedProperties: true,
|
|
420
|
+
});
|
|
421
421
|
const firestore = initializeFirestore(injector.get(FirebaseApp), {
|
|
422
422
|
experimentalForceLongPolling: true,
|
|
423
423
|
ignoreUndefinedProperties: true,
|
|
@@ -433,10 +433,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
433
433
|
AngularElasticSeachModule,
|
|
434
434
|
provideFirestore((injector) => {
|
|
435
435
|
const platformId = injector.get(PLATFORM_ID);
|
|
436
|
-
if (isPlatformServer(platformId))
|
|
437
|
-
return
|
|
438
|
-
|
|
439
|
-
|
|
436
|
+
if (isPlatformServer(platformId) || !MobileOperationSystemCheckerHelper.isAppleDevice())
|
|
437
|
+
return initializeFirestore(injector.get(FirebaseApp), {
|
|
438
|
+
ignoreUndefinedProperties: true,
|
|
439
|
+
});
|
|
440
440
|
const firestore = initializeFirestore(injector.get(FirebaseApp), {
|
|
441
441
|
experimentalForceLongPolling: true,
|
|
442
442
|
ignoreUndefinedProperties: true,
|