@rxap/firebase 21.0.1-dev.0 → 21.0.1
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.
- package/CHANGELOG.md +25 -0
- package/compodoc/changelog.html +23 -0
- package/compodoc/dependencies.html +3 -3
- package/compodoc/graph/dependencies.svg +4 -30
- package/compodoc/injectables/AppCheckService.html +30 -147
- package/compodoc/injectables/RxapFirebaseMessagingService.html +16 -93
- package/compodoc/interceptors/FirebaseAppCheckHttpInterceptor.html +13 -77
- package/compodoc/interfaces/Message.html +5 -12
- package/compodoc/js/menu-wc.js +0 -32
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +78 -0
- package/compodoc/miscellaneous/variables.html +1 -0
- package/compodoc/modules.html +0 -32
- package/compodoc/overview.html +1 -73
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +906 -1315
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AppCheckService.html +2 -2
- package/docs/html/classes/FirebaseAppCheckHttpInterceptor.html +3 -3
- package/docs/html/classes/RxapFirebaseMessagingService.html +2 -2
- package/docs/html/functions/AnalyticsEnabledFactory.html +1 -1
- package/docs/html/functions/AppCheckEnabledFactory.html +1 -1
- package/docs/html/functions/AppCheckSiteKeyFactory.html +1 -1
- package/docs/html/functions/AppIsTokenAutoRefreshEnabledFactory.html +1 -1
- package/docs/html/functions/AuthLanguageCodeFactory.html +1 -1
- package/docs/html/functions/AuthPersistenceFactory.html +1 -1
- package/docs/html/functions/AuthSettingsFactory.html +1 -1
- package/docs/html/functions/AuthTenantIdFactory.html +1 -1
- package/docs/html/functions/AuthUseDeviceLanguageFactory.html +1 -1
- package/docs/html/functions/DataCollectionEnabledFactory.html +1 -1
- package/docs/html/functions/EnablePersistenceTokenFactory.html +1 -1
- package/docs/html/functions/FirebaseNameOrConfigTokenFactory.html +1 -1
- package/docs/html/functions/FirebaseOptionsTokenFactory.html +1 -1
- package/docs/html/functions/FirestoreSettingsTokenFactory.html +1 -1
- package/docs/html/functions/FunctionsNewOriginBehaviorFactory.html +1 -1
- package/docs/html/functions/FunctionsOriginFactory.html +1 -1
- package/docs/html/functions/FunctionsRegionFactory.html +1 -1
- package/docs/html/functions/GetAnalyticsAppName.html +1 -1
- package/docs/html/functions/InstrumentationEnabledFactory.html +1 -1
- package/docs/html/functions/PersistenceSettingsTokenFactory.html +1 -1
- package/docs/html/functions/ServiceWorkerFactory.html +1 -1
- package/docs/html/functions/StorageBucketFactory.html +1 -1
- package/docs/html/functions/StorageMaxOperationRetryTimeFactory.html +1 -1
- package/docs/html/functions/StorageMaxUploadRetryTimeFactory.html +1 -1
- package/docs/html/functions/UseAuthEmulatorFactory.html +1 -1
- package/docs/html/functions/UseFirestoreEmulatorFactory.html +1 -1
- package/docs/html/functions/UseFunctionsEmulatorFactory.html +1 -1
- package/docs/html/functions/VapidKeyFactory.html +1 -1
- package/docs/html/functions/provideAngularFireAppCheck.html +3 -0
- package/docs/html/functions/provideAngularFireStorageEmulator.html +3 -0
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/FirebaseConfig.html +2 -2
- package/docs/html/interfaces/Message.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/APP_CHECK_ENABLED.html +1 -1
- package/docs/html/variables/APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.html +1 -1
- package/docs/html/variables/APP_CHECK_SITE_KEY.html +1 -1
- package/docs/html/variables/FIREBASE_ANALYTICS_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.html +1 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.html +1 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_APP_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_AUTH_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_FIRESTORE_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_FUNCTIONS_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_MESSAGING_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_PERFORMANCE_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_STORAGE_PROVIDERS.html +1 -1
- package/docs/html/variables/RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.html +1 -1
- package/docs/html/variables/USE_STORAGE_EMULATOR.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AppCheckService.md +7 -37
- package/docs/markdown/classes/FirebaseAppCheckHttpInterceptor.md +6 -20
- package/docs/markdown/classes/RxapFirebaseMessagingService.md +10 -20
- package/docs/markdown/functions/AnalyticsEnabledFactory.md +2 -2
- package/docs/markdown/functions/AppCheckEnabledFactory.md +2 -2
- package/docs/markdown/functions/AppCheckSiteKeyFactory.md +2 -2
- package/docs/markdown/functions/AppIsTokenAutoRefreshEnabledFactory.md +2 -2
- package/docs/markdown/functions/AuthLanguageCodeFactory.md +2 -2
- package/docs/markdown/functions/AuthPersistenceFactory.md +2 -2
- package/docs/markdown/functions/AuthSettingsFactory.md +2 -2
- package/docs/markdown/functions/AuthTenantIdFactory.md +2 -2
- package/docs/markdown/functions/AuthUseDeviceLanguageFactory.md +2 -2
- package/docs/markdown/functions/DataCollectionEnabledFactory.md +2 -2
- package/docs/markdown/functions/EnablePersistenceTokenFactory.md +2 -2
- package/docs/markdown/functions/FirebaseNameOrConfigTokenFactory.md +2 -2
- package/docs/markdown/functions/FirebaseOptionsTokenFactory.md +2 -2
- package/docs/markdown/functions/FirestoreSettingsTokenFactory.md +2 -2
- package/docs/markdown/functions/FunctionsNewOriginBehaviorFactory.md +2 -2
- package/docs/markdown/functions/FunctionsOriginFactory.md +2 -2
- package/docs/markdown/functions/FunctionsRegionFactory.md +2 -2
- package/docs/markdown/functions/GetAnalyticsAppName.md +2 -2
- package/docs/markdown/functions/InstrumentationEnabledFactory.md +2 -2
- package/docs/markdown/functions/PersistenceSettingsTokenFactory.md +2 -2
- package/docs/markdown/functions/ServiceWorkerFactory.md +2 -2
- package/docs/markdown/functions/StorageBucketFactory.md +2 -2
- package/docs/markdown/functions/StorageMaxOperationRetryTimeFactory.md +2 -2
- package/docs/markdown/functions/StorageMaxUploadRetryTimeFactory.md +2 -2
- package/docs/markdown/functions/UseAuthEmulatorFactory.md +2 -2
- package/docs/markdown/functions/UseFirestoreEmulatorFactory.md +2 -2
- package/docs/markdown/functions/UseFunctionsEmulatorFactory.md +2 -2
- package/docs/markdown/functions/VapidKeyFactory.md +2 -2
- package/docs/markdown/functions/provideAngularFireAppCheck.md +18 -0
- package/docs/markdown/functions/provideAngularFireStorageEmulator.md +18 -0
- package/docs/markdown/globals.md +4 -4
- package/docs/markdown/interfaces/FirebaseConfig.md +3 -3
- package/docs/markdown/interfaces/Message.md +5 -5
- package/docs/markdown/variables/APP_CHECK_ENABLED.md +2 -2
- package/docs/markdown/variables/APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.md +2 -2
- package/docs/markdown/variables/APP_CHECK_SITE_KEY.md +2 -2
- package/docs/markdown/variables/FIREBASE_ANALYTICS_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_AUTH_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_FIRESTORE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_FUNCTIONS_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_MESSAGING_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_PERFORMANCE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_STORAGE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.md +2 -2
- package/docs/markdown/variables/USE_STORAGE_EMULATOR.md +2 -2
- package/docs/wiki/Class.AppCheckService.md +6 -36
- package/docs/wiki/Class.FirebaseAppCheckHttpInterceptor.md +5 -19
- package/docs/wiki/Class.RxapFirebaseMessagingService.md +9 -19
- package/docs/wiki/Function.AnalyticsEnabledFactory.md +1 -1
- package/docs/wiki/Function.AppCheckEnabledFactory.md +1 -1
- package/docs/wiki/Function.AppCheckSiteKeyFactory.md +1 -1
- package/docs/wiki/Function.AppIsTokenAutoRefreshEnabledFactory.md +1 -1
- package/docs/wiki/Function.AuthLanguageCodeFactory.md +1 -1
- package/docs/wiki/Function.AuthPersistenceFactory.md +1 -1
- package/docs/wiki/Function.AuthSettingsFactory.md +1 -1
- package/docs/wiki/Function.AuthTenantIdFactory.md +1 -1
- package/docs/wiki/Function.AuthUseDeviceLanguageFactory.md +1 -1
- package/docs/wiki/Function.DataCollectionEnabledFactory.md +1 -1
- package/docs/wiki/Function.EnablePersistenceTokenFactory.md +1 -1
- package/docs/wiki/Function.FirebaseNameOrConfigTokenFactory.md +1 -1
- package/docs/wiki/Function.FirebaseOptionsTokenFactory.md +1 -1
- package/docs/wiki/Function.FirestoreSettingsTokenFactory.md +1 -1
- package/docs/wiki/Function.FunctionsNewOriginBehaviorFactory.md +1 -1
- package/docs/wiki/Function.FunctionsOriginFactory.md +1 -1
- package/docs/wiki/Function.FunctionsRegionFactory.md +1 -1
- package/docs/wiki/Function.GetAnalyticsAppName.md +1 -1
- package/docs/wiki/Function.InstrumentationEnabledFactory.md +1 -1
- package/docs/wiki/Function.PersistenceSettingsTokenFactory.md +1 -1
- package/docs/wiki/Function.ServiceWorkerFactory.md +1 -1
- package/docs/wiki/Function.StorageBucketFactory.md +1 -1
- package/docs/wiki/Function.StorageMaxOperationRetryTimeFactory.md +1 -1
- package/docs/wiki/Function.StorageMaxUploadRetryTimeFactory.md +1 -1
- package/docs/wiki/Function.UseAuthEmulatorFactory.md +1 -1
- package/docs/wiki/Function.UseFirestoreEmulatorFactory.md +1 -1
- package/docs/wiki/Function.UseFunctionsEmulatorFactory.md +1 -1
- package/docs/wiki/Function.VapidKeyFactory.md +1 -1
- package/docs/wiki/Function.provideAngularFireAppCheck.md +14 -0
- package/docs/wiki/Function.provideAngularFireStorageEmulator.md +14 -0
- package/docs/wiki/Interface.FirebaseConfig.md +2 -2
- package/docs/wiki/Interface.Message.md +4 -4
- package/docs/wiki/Variable.APP_CHECK_ENABLED.md +1 -1
- package/docs/wiki/Variable.APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.md +1 -1
- package/docs/wiki/Variable.APP_CHECK_SITE_KEY.md +1 -1
- package/docs/wiki/Variable.FIREBASE_ANALYTICS_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_AUTH_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_FIRESTORE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_FUNCTIONS_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_MESSAGING_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_PERFORMANCE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_STORAGE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.md +1 -1
- package/docs/wiki/Variable.USE_STORAGE_EMULATOR.md +1 -1
- package/docs/wiki/_Sidebar.md +2 -2
- package/docs/wiki/globals.md +3 -3
- package/fesm2022/rxap-firebase-auth.mjs +4 -5
- package/fesm2022/rxap-firebase-auth.mjs.map +1 -1
- package/fesm2022/rxap-firebase.mjs +55 -103
- package/fesm2022/rxap-firebase.mjs.map +1 -1
- package/package.json +8 -8
- package/types/rxap-firebase-auth.d.ts +1 -1
- package/types/rxap-firebase.d.ts +20 -26
- package/docs/html/classes/RxapAngularFireAppCheckModule.html +0 -3
- package/docs/html/classes/RxapAngularFireStorageModule.html +0 -2
- package/docs/markdown/classes/RxapAngularFireAppCheckModule.md +0 -35
- package/docs/markdown/classes/RxapAngularFireStorageModule.md +0 -31
- package/docs/wiki/Class.RxapAngularFireAppCheckModule.md +0 -31
- package/docs/wiki/Class.RxapAngularFireStorageModule.md +0 -27
|
@@ -135,7 +135,6 @@
|
|
|
135
135
|
<td class="col-md-4">
|
|
136
136
|
<ul class="index-list">
|
|
137
137
|
<li>
|
|
138
|
-
<span class="modifier">Public</span>
|
|
139
138
|
<span class="modifier">Readonly</span>
|
|
140
139
|
<a href="#appCheck" >appCheck</a>
|
|
141
140
|
</li>
|
|
@@ -173,69 +172,15 @@
|
|
|
173
172
|
<tbody>
|
|
174
173
|
<tr>
|
|
175
174
|
<td class="col-md-4">
|
|
176
|
-
<code>constructor(
|
|
175
|
+
<code>constructor()</code>
|
|
177
176
|
</td>
|
|
178
177
|
</tr>
|
|
179
178
|
<tr>
|
|
180
179
|
<td class="col-md-4">
|
|
181
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
180
|
+
<div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/lib/firebase-app-check.http-interceptor.ts:27</a></div>
|
|
182
181
|
</td>
|
|
183
182
|
</tr>
|
|
184
183
|
|
|
185
|
-
<tr>
|
|
186
|
-
<td class="col-md-4">
|
|
187
|
-
<div>
|
|
188
|
-
<b>Parameters :</b>
|
|
189
|
-
<table class="params">
|
|
190
|
-
<thead>
|
|
191
|
-
<tr>
|
|
192
|
-
<td>Name</td>
|
|
193
|
-
<td>Type</td>
|
|
194
|
-
<td>Optional</td>
|
|
195
|
-
</tr>
|
|
196
|
-
</thead>
|
|
197
|
-
<tbody>
|
|
198
|
-
<tr>
|
|
199
|
-
<td>appCheck</td>
|
|
200
|
-
|
|
201
|
-
<td>
|
|
202
|
-
<code>AppCheck</code>
|
|
203
|
-
</td>
|
|
204
|
-
|
|
205
|
-
<td>
|
|
206
|
-
No
|
|
207
|
-
</td>
|
|
208
|
-
|
|
209
|
-
</tr>
|
|
210
|
-
<tr>
|
|
211
|
-
<td>urlPattern</td>
|
|
212
|
-
|
|
213
|
-
<td>
|
|
214
|
-
<code>RegExp | RegExp[]</code>
|
|
215
|
-
</td>
|
|
216
|
-
|
|
217
|
-
<td>
|
|
218
|
-
No
|
|
219
|
-
</td>
|
|
220
|
-
|
|
221
|
-
</tr>
|
|
222
|
-
<tr>
|
|
223
|
-
<td>enabled</td>
|
|
224
|
-
|
|
225
|
-
<td>
|
|
226
|
-
<code>boolean | null</code>
|
|
227
|
-
</td>
|
|
228
|
-
|
|
229
|
-
<td>
|
|
230
|
-
No
|
|
231
|
-
</td>
|
|
232
|
-
|
|
233
|
-
</tr>
|
|
234
|
-
</tbody>
|
|
235
|
-
</table>
|
|
236
|
-
</div>
|
|
237
|
-
</td>
|
|
238
|
-
</tr>
|
|
239
184
|
</tbody>
|
|
240
185
|
</table>
|
|
241
186
|
</section>
|
|
@@ -267,8 +212,8 @@
|
|
|
267
212
|
|
|
268
213
|
<tr>
|
|
269
214
|
<td class="col-md-4">
|
|
270
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
271
|
-
class="link-to-prism">src/lib/firebase-app-check.http-interceptor.ts:
|
|
215
|
+
<div class="io-line">Defined in <a href="" data-line="35"
|
|
216
|
+
class="link-to-prism">src/lib/firebase-app-check.http-interceptor.ts:35</a></div>
|
|
272
217
|
</td>
|
|
273
218
|
</tr>
|
|
274
219
|
|
|
@@ -338,7 +283,6 @@
|
|
|
338
283
|
<td class="col-md-4">
|
|
339
284
|
<a name="appCheck"></a>
|
|
340
285
|
<span class="name">
|
|
341
|
-
<span class="modifier">Public</span>
|
|
342
286
|
<span class="modifier">Readonly</span>
|
|
343
287
|
<span ><b>appCheck</b></span>
|
|
344
288
|
<a href="#appCheck"><span class="icon ion-ios-link"></span></a>
|
|
@@ -347,13 +291,12 @@
|
|
|
347
291
|
</tr>
|
|
348
292
|
<tr>
|
|
349
293
|
<td class="col-md-4">
|
|
350
|
-
<i>
|
|
351
|
-
|
|
294
|
+
<i>Default value : </i><code>inject(AppCheck)</code>
|
|
352
295
|
</td>
|
|
353
296
|
</tr>
|
|
354
297
|
<tr>
|
|
355
298
|
<td class="col-md-4">
|
|
356
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
299
|
+
<div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">src/lib/firebase-app-check.http-interceptor.ts:23</a></div>
|
|
357
300
|
</td>
|
|
358
301
|
</tr>
|
|
359
302
|
|
|
@@ -366,12 +309,7 @@
|
|
|
366
309
|
|
|
367
310
|
|
|
368
311
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
369
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
370
|
-
Inject,
|
|
371
|
-
Injectable,
|
|
372
|
-
Optional,
|
|
373
|
-
Provider,
|
|
374
|
-
} from '@angular/core';
|
|
312
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable, Provider, inject } from '@angular/core';
|
|
375
313
|
import { HTTP_INTERCEPTORS, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
376
314
|
import { coerceArray } from '@rxap/utilities';
|
|
377
315
|
import {
|
|
@@ -393,17 +331,15 @@ import {
|
|
|
393
331
|
|
|
394
332
|
@Injectable()
|
|
395
333
|
export class FirebaseAppCheckHttpInterceptor implements HttpInterceptor {
|
|
334
|
+
readonly appCheck = inject(AppCheck);
|
|
335
|
+
private readonly enabled = inject(APP_CHECK_ENABLED, { optional: true });
|
|
336
|
+
|
|
396
337
|
|
|
397
338
|
private readonly urlPattern: RegExp[] = [];
|
|
398
339
|
|
|
399
|
-
constructor(
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
urlPattern: RegExp | RegExp[],
|
|
403
|
-
@Optional()
|
|
404
|
-
@Inject(APP_CHECK_ENABLED)
|
|
405
|
-
private readonly enabled: boolean | null,
|
|
406
|
-
) {
|
|
340
|
+
constructor() {
|
|
341
|
+
const urlPattern = inject<RegExp | RegExp[]>(FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN);
|
|
342
|
+
|
|
407
343
|
this.urlPattern = coerceArray(urlPattern);
|
|
408
344
|
}
|
|
409
345
|
|
|
@@ -273,11 +273,7 @@
|
|
|
273
273
|
|
|
274
274
|
|
|
275
275
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
276
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
277
|
-
Inject,
|
|
278
|
-
Injectable,
|
|
279
|
-
Optional,
|
|
280
|
-
} from '@angular/core';
|
|
276
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable, inject } from '@angular/core';
|
|
281
277
|
import { ReplaySubject } from 'rxjs';
|
|
282
278
|
import {
|
|
283
279
|
mergeMapTo,
|
|
@@ -298,15 +294,12 @@ export interface Message {
|
|
|
298
294
|
|
|
299
295
|
@Injectable({ providedIn: 'root' })
|
|
300
296
|
export class RxapFirebaseMessagingService {
|
|
297
|
+
readonly messaging = inject<AngularFireMessaging>(AngularFireMessaging);
|
|
298
|
+
readonly requestPermissionImminently = inject(RXAP_REQUEST_CLOUD_MESSAGING_TOKEN, { optional: true }) ?? false;
|
|
299
|
+
|
|
301
300
|
public token$ = new ReplaySubject<string | null>(1);
|
|
302
301
|
|
|
303
|
-
constructor(
|
|
304
|
-
@Inject(AngularFireMessaging)
|
|
305
|
-
public readonly messaging: AngularFireMessaging,
|
|
306
|
-
@Optional()
|
|
307
|
-
@Inject(RXAP_REQUEST_CLOUD_MESSAGING_TOKEN)
|
|
308
|
-
public readonly requestPermissionImminently = false,
|
|
309
|
-
) {
|
|
302
|
+
constructor() {
|
|
310
303
|
this.messaging.messages
|
|
311
304
|
.pipe(
|
|
312
305
|
tap((message: any) =>
|
package/compodoc/js/menu-wc.js
CHANGED
|
@@ -54,38 +54,6 @@ customElements.define('compodoc-menu', class extends HTMLElement {
|
|
|
54
54
|
</a>
|
|
55
55
|
</li>
|
|
56
56
|
</ul>
|
|
57
|
-
</li>
|
|
58
|
-
<li class="chapter modules">
|
|
59
|
-
<a data-type="chapter-link" href="modules.html">
|
|
60
|
-
<div class="menu-toggler linked" data-bs-toggle="collapse" ${ isNormalMode ?
|
|
61
|
-
'data-bs-target="#modules-links"' : 'data-bs-target="#xs-modules-links"' }>
|
|
62
|
-
<span class="icon ion-ios-archive"></span>
|
|
63
|
-
<span class="link-name">Modules</span>
|
|
64
|
-
<span class="icon ion-ios-arrow-down"></span>
|
|
65
|
-
</div>
|
|
66
|
-
</a>
|
|
67
|
-
<ul class="links collapse " ${ isNormalMode ? 'id="modules-links"' : 'id="xs-modules-links"' }>
|
|
68
|
-
<li class="link">
|
|
69
|
-
<a href="modules/RxapAngularFireAppCheckModule.html" data-type="entity-link" >RxapAngularFireAppCheckModule</a>
|
|
70
|
-
<li class="chapter inner">
|
|
71
|
-
<div class="simple menu-toggler" data-bs-toggle="collapse" ${ isNormalMode ?
|
|
72
|
-
'data-bs-target="#injectables-links-module-RxapAngularFireAppCheckModule-4fc70097af04e88a085e6125c5e9d978bfe966bdca8cb8584e3ded879c9836409a8dbdd2b10d99d3415b6330dfee683ee24b7afdfc5d2723248ce4679eb3f466"' : 'data-bs-target="#xs-injectables-links-module-RxapAngularFireAppCheckModule-4fc70097af04e88a085e6125c5e9d978bfe966bdca8cb8584e3ded879c9836409a8dbdd2b10d99d3415b6330dfee683ee24b7afdfc5d2723248ce4679eb3f466"' }>
|
|
73
|
-
<span class="icon ion-md-arrow-round-down"></span>
|
|
74
|
-
<span>Injectables</span>
|
|
75
|
-
<span class="icon ion-ios-arrow-down"></span>
|
|
76
|
-
</div>
|
|
77
|
-
<ul class="links collapse" ${ isNormalMode ? 'id="injectables-links-module-RxapAngularFireAppCheckModule-4fc70097af04e88a085e6125c5e9d978bfe966bdca8cb8584e3ded879c9836409a8dbdd2b10d99d3415b6330dfee683ee24b7afdfc5d2723248ce4679eb3f466"' :
|
|
78
|
-
'id="xs-injectables-links-module-RxapAngularFireAppCheckModule-4fc70097af04e88a085e6125c5e9d978bfe966bdca8cb8584e3ded879c9836409a8dbdd2b10d99d3415b6330dfee683ee24b7afdfc5d2723248ce4679eb3f466"' }>
|
|
79
|
-
<li class="link">
|
|
80
|
-
<a href="injectables/AppCheckService.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >AppCheckService</a>
|
|
81
|
-
</li>
|
|
82
|
-
</ul>
|
|
83
|
-
</li>
|
|
84
|
-
</li>
|
|
85
|
-
<li class="link">
|
|
86
|
-
<a href="modules/RxapAngularFireStorageModule.html" data-type="entity-link" >RxapAngularFireStorageModule</a>
|
|
87
|
-
</li>
|
|
88
|
-
</ul>
|
|
89
57
|
</li>
|
|
90
58
|
<li class="chapter">
|
|
91
59
|
<div class="simple menu-toggler" data-bs-toggle="collapse" ${ isNormalMode ? 'data-bs-target="#injectables-links"' :
|
|
@@ -33,7 +33,7 @@ customElements.define('compodoc-menu', /*#__PURE__*/function (_HTMLElement) {
|
|
|
33
33
|
}, {
|
|
34
34
|
key: "render",
|
|
35
35
|
value: function render(isNormalMode) {
|
|
36
|
-
var tp = lithtml.html("\n <nav>\n <ul class=\"list\">\n <li class=\"title\">\n <a href=\"index.html\" data-type=\"index-link\">angular-firebase</a>\n </li>\n\n <li class=\"divider\"></li>\n ".concat(isNormalMode ? "<div id=\"book-search-input\" role=\"search\"><input type=\"text\" placeholder=\"Type to search\"></div>" : '', "\n <li class=\"chapter\">\n <a data-type=\"chapter-link\" href=\"index.html\"><span class=\"icon ion-ios-home\"></span>Getting started</a>\n <ul class=\"links\">\n <li class=\"link\">\n <a href=\"overview.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-keypad\"></span>Overview\n </a>\n </li>\n <li class=\"link\">\n <a href=\"index.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>README\n </a>\n </li>\n <li class=\"link\">\n <a href=\"changelog.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>CHANGELOG\n </a>\n </li>\n <li class=\"link\">\n <a href=\"license.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>LICENSE\n </a>\n </li>\n <li class=\"link\">\n <a href=\"dependencies.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-list\"></span>Dependencies\n </a>\n </li>\n <li class=\"link\">\n <a href=\"properties.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-apps\"></span>Properties\n </a>\n </li>\n </ul>\n </li>\n <li class=\"chapter modules\">\n <a data-type=\"chapter-link\" href=\"modules.html\">\n <div class=\"menu-toggler linked\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#modules-links"' : 'data-bs-target="#xs-modules-links"', ">\n <span class=\"icon ion-ios-archive\"></span>\n <span class=\"link-name\">Modules</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n </a>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="modules-links"' : 'id="xs-modules-links"', ">\n <li class=\"link\">\n <a href=\"modules/RxapAngularFireAppCheckModule.html\" data-type=\"entity-link\" >RxapAngularFireAppCheckModule</a>\n <li class=\"chapter inner\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#injectables-links-module-RxapAngularFireAppCheckModule-4fc70097af04e88a085e6125c5e9d978bfe966bdca8cb8584e3ded879c9836409a8dbdd2b10d99d3415b6330dfee683ee24b7afdfc5d2723248ce4679eb3f466"' : 'data-bs-target="#xs-injectables-links-module-RxapAngularFireAppCheckModule-4fc70097af04e88a085e6125c5e9d978bfe966bdca8cb8584e3ded879c9836409a8dbdd2b10d99d3415b6330dfee683ee24b7afdfc5d2723248ce4679eb3f466"', ">\n <span class=\"icon ion-md-arrow-round-down\"></span>\n <span>Injectables</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse\" ").concat(isNormalMode ? 'id="injectables-links-module-RxapAngularFireAppCheckModule-4fc70097af04e88a085e6125c5e9d978bfe966bdca8cb8584e3ded879c9836409a8dbdd2b10d99d3415b6330dfee683ee24b7afdfc5d2723248ce4679eb3f466"' : 'id="xs-injectables-links-module-RxapAngularFireAppCheckModule-4fc70097af04e88a085e6125c5e9d978bfe966bdca8cb8584e3ded879c9836409a8dbdd2b10d99d3415b6330dfee683ee24b7afdfc5d2723248ce4679eb3f466"', ">\n <li class=\"link\">\n <a href=\"injectables/AppCheckService.html\" data-type=\"entity-link\" data-context=\"sub-entity\" data-context-id=\"modules\" >AppCheckService</a>\n </li>\n </ul>\n </li>\n </li>\n <li class=\"link\">\n <a href=\"modules/RxapAngularFireStorageModule.html\" data-type=\"entity-link\" >RxapAngularFireStorageModule</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#injectables-links"' : 'data-bs-target="#xs-injectables-links"', ">\n <span class=\"icon ion-md-arrow-round-down\"></span>\n <span>Injectables</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="injectables-links"' : 'id="xs-injectables-links"', ">\n <li class=\"link\">\n <a href=\"injectables/AppCheckService.html\" data-type=\"entity-link\" >AppCheckService</a>\n </li>\n <li class=\"link\">\n <a href=\"injectables/RxapFirebaseMessagingService.html\" data-type=\"entity-link\" >RxapFirebaseMessagingService</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#interceptors-links"' : 'data-bs-target="#xs-interceptors-links"', ">\n <span class=\"icon ion-ios-swap\"></span>\n <span>Interceptors</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="interceptors-links"' : 'id="xs-interceptors-links"', ">\n <li class=\"link\">\n <a href=\"interceptors/FirebaseAppCheckHttpInterceptor.html\" data-type=\"entity-link\" >FirebaseAppCheckHttpInterceptor</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#interfaces-links"' : 'data-bs-target="#xs-interfaces-links"', ">\n <span class=\"icon ion-md-information-circle-outline\"></span>\n <span>Interfaces</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? ' id="interfaces-links"' : 'id="xs-interfaces-links"', ">\n <li class=\"link\">\n <a href=\"interfaces/FirebaseConfig.html\" data-type=\"entity-link\" >FirebaseConfig</a>\n </li>\n <li class=\"link\">\n <a href=\"interfaces/Message.html\" data-type=\"entity-link\" >Message</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#miscellaneous-links"' : 'data-bs-target="#xs-miscellaneous-links"', ">\n <span class=\"icon ion-ios-cube\"></span>\n <span>Miscellaneous</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="miscellaneous-links"' : 'id="xs-miscellaneous-links"', ">\n <li class=\"link\">\n <a href=\"miscellaneous/functions.html\" data-type=\"entity-link\">Functions</a>\n </li>\n <li class=\"link\">\n <a href=\"miscellaneous/variables.html\" data-type=\"entity-link\">Variables</a>\n </li>\n </ul>\n </li>\n <li class=\"divider\"></li>\n <li class=\"copyright\">\n Documentation generated using <a href=\"https://compodoc.app/\" target=\"_blank\" rel=\"noopener noreferrer\">\n <img data-src=\"images/compodoc-vectorise.png\" class=\"img-responsive\" data-type=\"compodoc-logo\">\n </a>\n </li>\n </ul>\n </nav>\n "));
|
|
36
|
+
var tp = lithtml.html("\n <nav>\n <ul class=\"list\">\n <li class=\"title\">\n <a href=\"index.html\" data-type=\"index-link\">angular-firebase</a>\n </li>\n\n <li class=\"divider\"></li>\n ".concat(isNormalMode ? "<div id=\"book-search-input\" role=\"search\"><input type=\"text\" placeholder=\"Type to search\"></div>" : '', "\n <li class=\"chapter\">\n <a data-type=\"chapter-link\" href=\"index.html\"><span class=\"icon ion-ios-home\"></span>Getting started</a>\n <ul class=\"links\">\n <li class=\"link\">\n <a href=\"overview.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-keypad\"></span>Overview\n </a>\n </li>\n <li class=\"link\">\n <a href=\"index.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>README\n </a>\n </li>\n <li class=\"link\">\n <a href=\"changelog.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>CHANGELOG\n </a>\n </li>\n <li class=\"link\">\n <a href=\"license.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>LICENSE\n </a>\n </li>\n <li class=\"link\">\n <a href=\"dependencies.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-list\"></span>Dependencies\n </a>\n </li>\n <li class=\"link\">\n <a href=\"properties.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-apps\"></span>Properties\n </a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#injectables-links"' : 'data-bs-target="#xs-injectables-links"', ">\n <span class=\"icon ion-md-arrow-round-down\"></span>\n <span>Injectables</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="injectables-links"' : 'id="xs-injectables-links"', ">\n <li class=\"link\">\n <a href=\"injectables/AppCheckService.html\" data-type=\"entity-link\" >AppCheckService</a>\n </li>\n <li class=\"link\">\n <a href=\"injectables/RxapFirebaseMessagingService.html\" data-type=\"entity-link\" >RxapFirebaseMessagingService</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#interceptors-links"' : 'data-bs-target="#xs-interceptors-links"', ">\n <span class=\"icon ion-ios-swap\"></span>\n <span>Interceptors</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="interceptors-links"' : 'id="xs-interceptors-links"', ">\n <li class=\"link\">\n <a href=\"interceptors/FirebaseAppCheckHttpInterceptor.html\" data-type=\"entity-link\" >FirebaseAppCheckHttpInterceptor</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#interfaces-links"' : 'data-bs-target="#xs-interfaces-links"', ">\n <span class=\"icon ion-md-information-circle-outline\"></span>\n <span>Interfaces</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? ' id="interfaces-links"' : 'id="xs-interfaces-links"', ">\n <li class=\"link\">\n <a href=\"interfaces/FirebaseConfig.html\" data-type=\"entity-link\" >FirebaseConfig</a>\n </li>\n <li class=\"link\">\n <a href=\"interfaces/Message.html\" data-type=\"entity-link\" >Message</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#miscellaneous-links"' : 'data-bs-target="#xs-miscellaneous-links"', ">\n <span class=\"icon ion-ios-cube\"></span>\n <span>Miscellaneous</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="miscellaneous-links"' : 'id="xs-miscellaneous-links"', ">\n <li class=\"link\">\n <a href=\"miscellaneous/functions.html\" data-type=\"entity-link\">Functions</a>\n </li>\n <li class=\"link\">\n <a href=\"miscellaneous/variables.html\" data-type=\"entity-link\">Variables</a>\n </li>\n </ul>\n </li>\n <li class=\"divider\"></li>\n <li class=\"copyright\">\n Documentation generated using <a href=\"https://compodoc.app/\" target=\"_blank\" rel=\"noopener noreferrer\">\n <img data-src=\"images/compodoc-vectorise.png\" class=\"img-responsive\" data-type=\"compodoc-logo\">\n </a>\n </li>\n </ul>\n </nav>\n "));
|
|
37
37
|
this.innerHTML = tp.strings;
|
|
38
38
|
}
|
|
39
39
|
}]);
|