|
@@ -188,9 +188,9 @@ export default class SharedService implements ILogerService {
|
|
|
installType = 'pc';
|
|
|
}
|
|
|
}
|
|
|
- this.consoleLog('debug', 'referrer', document.referrer);
|
|
|
- this.consoleLog('debug', 'isStandalone', isStandalone, (window?.navigator as any)?.standalone);
|
|
|
- this.consoleLog('debug', 'userAgent', window?.navigator?.userAgent);
|
|
|
+ this.consoleLog('debug', 'referrer', "" + document.referrer);
|
|
|
+ this.consoleLog('debug', 'isStandalone', isStandalone, "" + (window?.navigator as any)?.standalone);
|
|
|
+ this.consoleLog('debug', 'userAgent', "" + window?.navigator?.userAgent);
|
|
|
switch (installType) {
|
|
|
case 'pc':
|
|
|
this._appConf.deferredPrompt = 'pc';
|
|
@@ -484,7 +484,7 @@ export default class SharedService implements ILogerService {
|
|
|
pushKey: loginInfo.pushKey,
|
|
|
})
|
|
|
.then((result) => {
|
|
|
- this.consoleLog('debug', 'Info Changed', result);
|
|
|
+ this.consoleLog('debug', 'Info Changed');
|
|
|
});
|
|
|
return true;
|
|
|
} else {
|
|
@@ -545,10 +545,10 @@ export default class SharedService implements ILogerService {
|
|
|
}
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
- this.consoleLog('debug', 'Messaging Error', err);
|
|
|
+ this.consoleLog('debug', 'Messaging Error');
|
|
|
});
|
|
|
onMessage(messaging, (payload: any) => {
|
|
|
- this.consoleLog('debug', 'onMessage', payload);
|
|
|
+ this.consoleLog('debug', 'onMessage');
|
|
|
});
|
|
|
}
|
|
|
} else {
|