1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

setup safari app messaging

This commit is contained in:
Kyle Spearrin
2019-08-12 12:31:32 -04:00
parent 55db185d6b
commit 73db5cd59a
4 changed files with 39 additions and 8 deletions

View File

@@ -57,6 +57,7 @@ import { Analytics } from 'jslib/misc';
import { Utils } from 'jslib/misc/utils';
import { BrowserApi } from '../browser/browserApi';
import { SafariApp } from '../browser/safariApp';
import CommandsBackground from './commands.background';
import ContextMenusBackground from './contextMenus.background';
@@ -216,6 +217,7 @@ export default class MainBackground {
}
async bootstrap() {
SafariApp.init();
this.analytics.ga('send', 'pageview', '/background.html');
this.containerService.attachToWindow(window);