Skip to content

Commit

Permalink
reomoved init for analytics in dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
OchiengPaul442 committed Feb 25, 2024
1 parent 1812240 commit 3b6a0c3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions apps/picsa-apps/extension-app/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ export class AppComponent {
private async init() {
this.performanceService.setEnabled({ enabled: ENVIRONMENT.production });
this.crashlyticsService.ready().then(() => null);
// if (ENVIRONMENT.production) {
// this.analyticsService.init(this.router);
// }
this.analyticsService.init(this.router);
if (ENVIRONMENT.production) {
this.analyticsService.init(this.router);
}
// eagerly load resources service to populate hardcoded resources
this.resourcesService.ready();
// eagerly load monitoring service to sync form data
Expand Down

0 comments on commit 3b6a0c3

Please sign in to comment.