Skip to content

Commit 46d7622

Browse files
committed
Initialize perf monitoring to get auto-collection
1 parent 8c8cb92 commit 46d7622

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/performance/performance.module.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ import 'firebase/performance';
66
@NgModule({
77
providers: [ AngularFirePerformance ]
88
})
9-
export class AngularFirePerformanceModule { }
9+
export class AngularFirePerformanceModule {
10+
constructor(_: AngularFirePerformance) {
11+
// DI inject AFP here for the automatic data collection
12+
}
13+
}

0 commit comments

Comments
 (0)