mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
changes
This commit is contained in:
@@ -153,6 +153,7 @@ export class NotificationsService {
|
||||
|
||||
|
||||
this.storageService.get("Notifications").then((store) => {
|
||||
console.log(notification)
|
||||
store.push(notification)
|
||||
this.storageService.store("Notifications", store)
|
||||
}).catch((error) => {
|
||||
@@ -178,6 +179,7 @@ export class NotificationsService {
|
||||
PushNotifications.addListener('pushNotificationActionPerformed',
|
||||
(notification: ActionPerformed) => {
|
||||
this.active = true
|
||||
console.log(notification)
|
||||
/* this.DataArray.push(notification.notification)
|
||||
|
||||
this.storageService.store("Notifications", this.DataArray)
|
||||
|
||||
Reference in New Issue
Block a user