diff --git a/Frontend/src/app/app.component.ts b/Frontend/src/app/app.component.ts index e8fb5bb71..d7b862cd8 100644 --- a/Frontend/src/app/app.component.ts +++ b/Frontend/src/app/app.component.ts @@ -74,7 +74,9 @@ export class MyApp { initUpdateListeners() { // When user pauses app (device locks, switches tabs, etc) try to update SW this.events.subscribe('application:multitasking:paused', () => { - (window).updateSW(); + try { + (window).updateSW(); + } catch(e) {} }); window['onSWUpdate'] = () => {