This commit is contained in:
Eudes Inácio
2023-06-11 00:07:10 +01:00
4 changed files with 40 additions and 37 deletions
@@ -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)