Closed jackcw closed 3 years ago
PR provided to fix this https://github.com/angular/angularfire/pull/2605
Workaround to disable this -- just provide a dummy class for the service:
{ provide: ScreenTrackingService, useValue: {}, },
Related to #2604
Addressed in 6.0.4
which is being cut now
The screen_view events are being auto logged regardless of ScreenTrackingService being provided in the module. The issue I have is that the screen_view events are giving an identifiable screen class name and so I'm going to do it manually and so need to deactivate the auto logging ones.
Version info
Angular: 10.1.3
Firebase: 7.21.1
AngularFire: 6.0.3
How to reproduce these conditions
Steps to set up and reproduce
Expected behavior
No screen_view changes to show up unless ScreenTrackingService is provided.
Actual behavior
Each route change a screen_view event is logged