Skip to content

Commit 62d90b9

Browse files
committed
Starting on the docs
1 parent 659165e commit 62d90b9

File tree

3 files changed

+73
-2
lines changed

3 files changed

+73
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ export class MyApp {
6464

6565
- [Installation & Setup](docs/install-and-setup.md)
6666

67+
### **NEW:** Monitor usage of your application in production
68+
69+
> `AngularFireAnalytics` provides a convient method of interacting with Google Analytics in your Angular application. The provided `ScreenTrackingService` and `UserTrackingService` automatically log events when you're using the Angular Router or Firebase Authentication respectively. [Learn more about Google Analytics](https://firebase.google.com/docs/analytics).
70+
71+
- [Getting started with Google Analytics](docs/analytics/getting-started.md)
72+
6773
### Interacting with your database(s)
6874

6975
Firebase offers two cloud-based, client-accessible database solutions that support realtime data syncing. [Learn about the differences between them in the Firebase Documentation](https://firebase.google.com/docs/firestore/rtdb-vs-firestore).
@@ -94,11 +100,19 @@ Firebase offers two cloud-based, client-accessible database solutions that suppo
94100

95101
- [Getting started with Cloud Storage](docs/storage/storage.md)
96102

97-
### Send push notifications
103+
### Receive push notifications
98104

99105
- [Getting started with Firebase Messaging](docs/messaging/messaging.md)
100106

101-
### Monitor your application performance in production
107+
### **NEW:** Change behavior and appearance of your application without deploying
108+
109+
> Firebase Remote Config is a cloud service that lets you change the behavior and appearance of your app without requiring users to download an app update. [Learn more about Remote Config](https://firebase.google.com/docs/remote-config).
110+
111+
- [Getting started with Remote Config](docs/remote-config/getting-started.md)
112+
113+
### **NEW:** Monitor your application performance in production
114+
115+
> Firebase Performance Monitoring is a service that helps you to gain insight into the performance characteristics of your iOS, Android, and web apps. [Learn more about Performance Monitor](https://firebase.google.com/docs/perf-mon).
102116
103117
- [Getting started with Performance Monitoring](docs/performance/getting-started.md)
104118

docs/analytics/getting-started.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Getting started with Google Analytics
2+
3+
### Something, something
4+
5+
TBD
6+
7+
### Putting it all together
8+
9+
```ts
10+
@NgModule({
11+
imports: [
12+
AngularFireModule.initializeApp(environment.firebase),
13+
AngularFireAnalyticsModule
14+
],
15+
providers: [
16+
ScreenTrackingService,
17+
UserTrackingService
18+
]
19+
})
20+
export class AppModule { }
21+
```
22+
23+
```ts
24+
constructor(analytics: AngularFireAnalytics) {
25+
analytics.logEvent('custom_event', { ... });
26+
}
27+
```

docs/remote-config/getting-started.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Getting started with Remote Config
2+
3+
### Something, something
4+
5+
TBD
6+
7+
### Putting it all together
8+
9+
```ts
10+
@NgModule({
11+
imports: [
12+
AngularFireModule.initializeApp(environment.firebase),
13+
AngularFireRemoteConfigModule
14+
],
15+
providers: [
16+
{ provide: DEFAULT_CONFIG, useValue: { enableAwesome: true } },
17+
{
18+
provide: REMOTE_CONFIG_SETTINGS,
19+
useFactory: () => isDevMode ? { minimumFetchIntervalMillis: 1 } : {}
20+
}
21+
]
22+
})
23+
export class AppModule { }
24+
```
25+
26+
```ts
27+
constructor(remoteConfig: AngularFireRemoteConfig) {
28+
remoteConfig.changes.subscribe(changes => …);
29+
}
30+
```

0 commit comments

Comments
 (0)