|
|
@ -706,6 +706,7 @@ export class AppNotificationsManager { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private registerDevice(tokenData: PushSubscriptionNotify) { |
|
|
|
private registerDevice(tokenData: PushSubscriptionNotify) { |
|
|
|
|
|
|
|
return; |
|
|
|
if(this.registeredDevice && deepEqual(this.registeredDevice, tokenData)) { |
|
|
|
if(this.registeredDevice && deepEqual(this.registeredDevice, tokenData)) { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
@ -724,6 +725,7 @@ export class AppNotificationsManager { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private unregisterDevice(tokenData: PushSubscriptionNotify) { |
|
|
|
private unregisterDevice(tokenData: PushSubscriptionNotify) { |
|
|
|
|
|
|
|
return; |
|
|
|
if(!this.registeredDevice) { |
|
|
|
if(!this.registeredDevice) { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|