feat: add random identifier to bugsnag reports

This commit is contained in:
Baptiste Grob
2021-01-22 15:31:56 +01:00
parent 2c4742a91d
commit 0bd3143481
6 changed files with 49 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ import {
} from '@/services';
import { AppState } from '@/ui_models/app_state';
import { Bridge } from '@/services/bridge';
import { Crypto } from '@/crypto';
import { WebCrypto } from '@/crypto';
type WebServices = {
appState: AppState;
@@ -60,7 +60,7 @@ export class WebApplication extends SNApplication {
bridge.environment,
platformFromString(getPlatformString()),
deviceInterface,
Crypto,
WebCrypto,
new AlertService(),
identifier,
undefined,