no analytics in dev
This commit is contained in:
parent
f064f5bd96
commit
6a3f3100be
|
@ -7,6 +7,8 @@ import {
|
||||||
|
|
||||||
import { ToasterModule } from 'angular2-toaster';
|
import { ToasterModule } from 'angular2-toaster';
|
||||||
|
|
||||||
|
import { isDev } from '../../scripts/utils';
|
||||||
|
|
||||||
import { DesktopPlatformUtilsService } from '../../services/desktopPlatformUtils.service';
|
import { DesktopPlatformUtilsService } from '../../services/desktopPlatformUtils.service';
|
||||||
import { DesktopRendererMessagingService } from '../../services/desktopRendererMessaging.service';
|
import { DesktopRendererMessagingService } from '../../services/desktopRendererMessaging.service';
|
||||||
import { DesktopRendererSecureStorageService } from '../../services/desktopRendererSecureStorage.service';
|
import { DesktopRendererSecureStorageService } from '../../services/desktopRendererSecureStorage.service';
|
||||||
|
@ -101,7 +103,7 @@ const authService = new AuthService(cryptoService, apiService,
|
||||||
userService, tokenService, appIdService, i18nService, platformUtilsService, constantsService,
|
userService, tokenService, appIdService, i18nService, platformUtilsService, constantsService,
|
||||||
messagingService);
|
messagingService);
|
||||||
|
|
||||||
const analytics = new Analytics(window, null, platformUtilsService, storageService, appIdService);
|
const analytics = new Analytics(window, () => isDev(), platformUtilsService, storageService, appIdService);
|
||||||
containerService.attachToWindow(window);
|
containerService.attachToWindow(window);
|
||||||
environmentService.setUrlsFromStorage().then(() => {
|
environmentService.setUrlsFromStorage().then(() => {
|
||||||
return syncService.fullSync(true);
|
return syncService.fullSync(true);
|
||||||
|
|
Loading…
Reference in New Issue