mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Notification are working
This commit is contained in:
@@ -146,7 +146,7 @@ export class NotificationsService {
|
||||
onReciveForeground() {
|
||||
PushNotifications.addListener('pushNotificationReceived',
|
||||
(notification: PushNotificationSchema) => {
|
||||
|
||||
console.log(notification)
|
||||
this.DataArray.push(notification)
|
||||
|
||||
this.storageService.store("Notifications", this.DataArray)
|
||||
@@ -160,7 +160,7 @@ export class NotificationsService {
|
||||
onReciveBackground() {
|
||||
PushNotifications.addListener('pushNotificationActionPerformed',
|
||||
(notification: ActionPerformed) => {
|
||||
|
||||
console.log(notification)
|
||||
/* this.DataArray.push(notification.notification)
|
||||
|
||||
this.storageService.store("Notifications", this.DataArray)
|
||||
|
||||
Reference in New Issue
Block a user