You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/analytics.md
+3-9
Original file line number
Diff line number
Diff line change
@@ -54,14 +54,8 @@ export class UserProfileComponent {
54
54
55
55
## Firebase API
56
56
57
-
The [Firebase API for Google Analytics documentation](https://firebase.google.com/docs/reference/js/analytics.md#analytics_package) is available on the Firebase website.
57
+
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
58
58
59
-
## Services
60
-
61
-
### ScreenTrackingService
62
-
63
-
Coming soon, for now [please review the documentation](https://firebase.google.com/docs/analytics/screenviews)
64
-
65
-
### UserTrackingService
66
-
Coming soon
59
+
Update the imports from `import { ... } from 'firebase/analytics'` to `import { ... } from '@angular/fire/analytics'` and follow the official documentation.
@@ -47,7 +47,8 @@ export class AppCheckComponent {
47
47
48
48
## Firebase API
49
49
50
-
The [AppCheck documentation](https://firebase.google.com/docs/reference/js/app-check) is available on the Firebase website.
50
+
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
51
51
52
-
## Convenience observables
53
-
Coming soon.
52
+
Update the imports from `import { ... } from 'firebase/app-check'` to `import { ... } from '@angular/fire/app-check'` and follow the official documentation.
Copy file name to clipboardExpand all lines: docs/database.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ extend class DepartmentComponent {
50
50
51
51
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
52
52
53
-
Just change your imports from `import { ... } from 'firebase/database'` to `import { ... } from '@angular/fire/database'` and follow the offical documentation.
53
+
Just change your imports from `import { ... } from 'firebase/database'` to `import { ... } from '@angular/fire/database'` and follow the official documentation.
Copy file name to clipboardExpand all lines: docs/firestore.md
+8-1
Original file line number
Diff line number
Diff line change
@@ -56,9 +56,15 @@ export class UserProfileComponent {
56
56
```
57
57
58
58
## Firebase API
59
-
With the reference to Cloud Firestore available in a component it is now possible to connect read from and write to the database.
59
+
60
+
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
61
+
62
+
Update the imports from `import { ... } from 'firebase/firestore'` to `import { ... } from '@angular/fire/firestore'` and follow the official documentation.
In Cloud Firestore data is stored in `documents` and `documents` are stored in `collections`. The path to data follows `<collection_name>/<document_id>` and continues if there are subcollections. For example, `"users/ABC12345/posts/XYZ6789"` represents:
The `async` pipe handles unsubscribing from observables.
112
118
113
119
### Writing data
120
+
114
121
To write to Cloud Firestore use the `addDoc` function. It will create a new document at the path specified by the collection. In `user-profile.component.ts`, we'll update the code to add a new document on a `<button>` click.
Copy file name to clipboardExpand all lines: docs/functions.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -45,8 +45,9 @@ export class AppComponent {
45
45
```
46
46
47
47
## Firebase API
48
-
The [Firebase API for Cloud Functions documentation](https://firebase.google.com/docs/reference/js/functions) is available on the Firebase website.
49
48
50
-
## Convenience observables
49
+
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
51
50
52
-
More details coming soon.
51
+
Update the imports from `import { ... } from 'firebase/functions'` to `import { ... } from '@angular/fire/functions'` and follow the official documentation.
52
+
53
+
[Call functions from your app](https://firebase.google.com/docs/functions/callable?gen=2nd#web-modular-api) | [API Reference](https://firebase.google.com/docs/reference/js/functions)
Copy file name to clipboardExpand all lines: docs/performance.md
+3-7
Original file line number
Diff line number
Diff line change
@@ -46,12 +46,8 @@ export class PerformanceComponent {
46
46
47
47
## Firebase API
48
48
49
-
The [Performance documentation](https://firebase.google.com/docs/reference/js/performance.md#performance_package) is available on the Firebase website.
49
+
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
50
50
51
-
## Services
51
+
Update the imports from `import { ... } from 'firebase/performance'` to `import { ... } from '@angular/fire/performance'` and follow the official documentation.
Copy file name to clipboardExpand all lines: docs/remote-config.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,8 @@ export class RemoteConfigComponent {
46
46
47
47
## Firebase API
48
48
49
-
The [Remote Config documentation](https://firebase.google.com/docs/reference/js/remote-config) is available on the Firebase website.
49
+
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
50
50
51
-
## Convenience observables
51
+
Update the imports from `import { ... } from 'firebase/remote-config'` to `import { ... } from '@angular/fire/remote-config'` and follow the official documentation.
Copy file name to clipboardExpand all lines: docs/storage.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ export class StorageComponent {
51
51
52
52
AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.
53
53
54
-
Update the imports from `import { ... } from 'firebase/storage'` to `import { ... } from '@angular/fire/storage'` and follow the offical documentation.
54
+
Update the imports from `import { ... } from 'firebase/storage'` to `import { ... } from '@angular/fire/storage'` and follow the official documentation.
0 commit comments