|
@@ -188,9 +188,9 @@ export default class SharedService implements ILogerService {
|
|
installType = 'pc';
|
|
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) {
|
|
switch (installType) {
|
|
case 'pc':
|
|
case 'pc':
|
|
this._appConf.deferredPrompt = 'pc';
|
|
this._appConf.deferredPrompt = 'pc';
|
|
@@ -484,7 +484,7 @@ export default class SharedService implements ILogerService {
|
|
pushKey: loginInfo.pushKey,
|
|
pushKey: loginInfo.pushKey,
|
|
})
|
|
})
|
|
.then((result) => {
|
|
.then((result) => {
|
|
- this.consoleLog('debug', 'Info Changed', result);
|
|
|
|
|
|
+ this.consoleLog('debug', 'Info Changed');
|
|
});
|
|
});
|
|
return true;
|
|
return true;
|
|
} else {
|
|
} else {
|
|
@@ -545,10 +545,10 @@ export default class SharedService implements ILogerService {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
- this.consoleLog('debug', 'Messaging Error', err);
|
|
|
|
|
|
+ this.consoleLog('debug', 'Messaging Error');
|
|
});
|
|
});
|
|
onMessage(messaging, (payload: any) => {
|
|
onMessage(messaging, (payload: any) => {
|
|
- this.consoleLog('debug', 'onMessage', payload);
|
|
|
|
|
|
+ this.consoleLog('debug', 'onMessage');
|
|
});
|
|
});
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|