From 546a380742ae88183f9b191846c2a7888c8b2db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Baz=C3=A1n?= Date: Mon, 19 Feb 2018 09:52:38 -0300 Subject: [PATCH] remove console.log --- src/pages/scan/scan.ts | 5 ----- src/providers/scan/scan.ts | 1 - 2 files changed, 6 deletions(-) diff --git a/src/pages/scan/scan.ts b/src/pages/scan/scan.ts index 4cd738f52..703ea4ebf 100644 --- a/src/pages/scan/scan.ts +++ b/src/pages/scan/scan.ts @@ -64,12 +64,9 @@ export class ScanPage { this.scannerIsDenied = false; this.scannerIsRestricted = false; this.canOpenSettings = false; - console.log("#########################################CONSTRUCTOR"); - } ionViewDidLoad() { - console.log("#########################################VIEWDIDLOAD"); this.logger.info('ionViewDidLoad ScanPage'); } @@ -79,14 +76,12 @@ export class ScanPage { this.cameraToggleActive = false; this.lightActive = false; this.scanProvider.frontCameraEnabled = false; - console.log("#########################################VIEWWILLLEAVE"); this.scanProvider.deactivate(); this.events.unsubscribe('incomingDataMenu.showMenu'); this.events.unsubscribe('scannerServiceInitialized'); } ionViewWillEnter() { - console.log("#########################################VIEWWILLENTER"); //TODO support for browser if (!this.platform.isCordova) { this.notSupportedMessage = this.translate.instant("Scanner not supported"); diff --git a/src/providers/scan/scan.ts b/src/providers/scan/scan.ts index 624b57376..29f143d08 100644 --- a/src/providers/scan/scan.ts +++ b/src/providers/scan/scan.ts @@ -212,7 +212,6 @@ export class ScanProvider { } this.hide(); this.destroy(); - console.log("#################################"); } // Natively hide the QRScanner's preview