remove console.log

This commit is contained in:
Gabriel Bazán 2018-02-19 09:52:38 -03:00
parent dd26996529
commit 546a380742
2 changed files with 0 additions and 6 deletions

View File

@ -64,12 +64,9 @@ export class ScanPage {
this.scannerIsDenied = false; this.scannerIsDenied = false;
this.scannerIsRestricted = false; this.scannerIsRestricted = false;
this.canOpenSettings = false; this.canOpenSettings = false;
console.log("#########################################CONSTRUCTOR");
} }
ionViewDidLoad() { ionViewDidLoad() {
console.log("#########################################VIEWDIDLOAD");
this.logger.info('ionViewDidLoad ScanPage'); this.logger.info('ionViewDidLoad ScanPage');
} }
@ -79,14 +76,12 @@ export class ScanPage {
this.cameraToggleActive = false; this.cameraToggleActive = false;
this.lightActive = false; this.lightActive = false;
this.scanProvider.frontCameraEnabled = false; this.scanProvider.frontCameraEnabled = false;
console.log("#########################################VIEWWILLLEAVE");
this.scanProvider.deactivate(); this.scanProvider.deactivate();
this.events.unsubscribe('incomingDataMenu.showMenu'); this.events.unsubscribe('incomingDataMenu.showMenu');
this.events.unsubscribe('scannerServiceInitialized'); this.events.unsubscribe('scannerServiceInitialized');
} }
ionViewWillEnter() { ionViewWillEnter() {
console.log("#########################################VIEWWILLENTER");
//TODO support for browser //TODO support for browser
if (!this.platform.isCordova) { if (!this.platform.isCordova) {
this.notSupportedMessage = this.translate.instant("Scanner not supported"); this.notSupportedMessage = this.translate.instant("Scanner not supported");

View File

@ -212,7 +212,6 @@ export class ScanProvider {
} }
this.hide(); this.hide();
this.destroy(); this.destroy();
console.log("#################################");
} }
// Natively hide the QRScanner's preview // Natively hide the QRScanner's preview