Skip to content

Commit aa03546

Browse files
Merge branch 'main' into docs-product-snippet-fixes
2 parents 017b57c + a99f09b commit aa03546

9 files changed

Lines changed: 11 additions & 109 deletions

File tree

docs/analytics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ As a prerequisite, ensure that `AngularFire` has been added to your project via
1717
ng add @angular/fire
1818
```
1919

20-
Provide a Analytics instance in the application's `app.config.ts`:
20+
Provide an Analytics instance in the application's `app.config.ts`:
2121

2222
```ts
2323
import { provideFirebaseApp, initializeApp } from '@angular/fire/app';

docs/app-check.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ As a prerequisite, ensure that `AngularFire` has been added to your project via
1717
ng add @angular/fire
1818
```
1919

20-
Provide a App Check instance in the application's `app.config.ts`:
20+
Provide an App Check instance in the application's `app.config.ts`:
2121

2222
```ts
2323
import { ApplicationConfig } from '@angular/core';
@@ -55,4 +55,4 @@ AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular,
5555

5656
Update the imports from `import { ... } from 'firebase/app-check'` to `import { ... } from '@angular/fire/app-check'` and follow the official documentation.
5757

58-
[Getting Started](https://firebase.google.com/docs/app-check/web/recaptcha-enterprise-provider) | [API Reference](https://firebase.google.com/docs/reference/js/app-check)
58+
[Getting Started](https://firebase.google.com/docs/app-check/web/recaptcha-provider) | [API Reference](https://firebase.google.com/docs/reference/js/app-check)

docs/auth.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ As a prerequisite, ensure that `AngularFire` has been added to your project via
2020
ng add @angular/fire
2121
```
2222

23-
Provide a Auth instance in the application's `app.config.ts`:
23+
Provide an Auth instance in the application's `app.config.ts`:
2424

2525
```ts
2626
import { ApplicationConfig } from '@angular/core';
@@ -172,8 +172,8 @@ export class UserComponent implements OnDestroy {
172172

173173
constructor() {
174174
this.idTokenSubscription = this.idToken$.subscribe((token: string | null) => {
175-
//handle idToken changes here. Note, that user will be null if there is no currently logged in user.
176-
console.log(string);
175+
//handle idToken changes here. Note, that token will be null if there is no currently logged in user.
176+
console.log(token);
177177
})
178178
}
179179

docs/compat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AngularFire
2-
The official [Angular](https://angular.io/) library for [Firebase](https://firebase.google.com/).
2+
The official [Angular](https://angular.dev/) library for [Firebase](https://firebase.google.com/).
33

44
<strong><pre>ng add @angular/fire</pre></strong>
55

docs/compat/auth/router-guards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Route users with AngularFire guards
22

3-
`AngularFireAuthGuard` provides a prebuilt [`canActivate` Router Guard](https://angular.io/api/router/CanActivate) using `AngularFireAuth`. By default unauthenticated users are not permitted to navigate to protected routes:
3+
`AngularFireAuthGuard` provides a prebuilt [`canActivate` Router Guard](https://angular.dev/api/router/CanActivate) using `AngularFireAuth`. By default unauthenticated users are not permitted to navigate to protected routes:
44

55
> **NOTE**: [AngularFire has a new tree-shakable API](../../../README.md#developer-guide), you're looking at the documentation for the compatability version of the library. [See the v7 upgrade guide for more information on this change.](../../version-7-upgrade.md).
66

docs/firebase.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/install-angular-cli-windows10.md

Lines changed: 0 additions & 82 deletions
This file was deleted.

docs/zones.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Instability can be difficult to track down. To help with debugging, AngularFire
5858
There are three logging levels in AngularFire:
5959

6060
* **Silent**: when the logging level is set to silent only the above banner is displayed when AngularFire APIs are called outside of an injection context, this is the default when using Zoneless change-detection.
61-
* **Warn**: when the logging level is set to warn, only blocking reads, long-lived tasks, and APIs with high risk of destabilizing your application are called, this is the default when using ZoneJS.
61+
* **Warn**: when the logging level is set to warn, only blocking reads, long-lived tasks, and APIs with high risk of destabilizing your application are logged, this is the default when using ZoneJS.
6262
* **Verbose**: when the logging level is set to verbose, all AngularFire APIs called outside of an injection context are logged—helping you track down APIs that may be destabilizing your application
6363

6464
You can change the log-level like so:

src/schematics/deploy/functions-templates.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const defaultFunction = (
3737
) => `const functions = require('firebase-functions');
3838
3939
// Increase readability in Cloud Logging
40-
require("firebase-functions/lib/logger/compat");
40+
require("firebase-functions/logger/compat");
4141
4242
const expressApp = require('./${path}/main').app();
4343
@@ -55,7 +55,7 @@ export const functionGen2 = (
5555
) => `const { onRequest } = require('firebase-functions/v2/https');
5656
5757
// Increase readability in Cloud Logging
58-
require("firebase-functions/lib/logger/compat");
58+
require("firebase-functions/logger/compat");
5959
6060
const expressApp = require('./${path}/main').app();
6161

0 commit comments

Comments
 (0)