This commit is contained in:
Peter Maquiran
2021-08-30 14:32:15 +01:00
parent 9edd0bc15f
commit f3f465ebc3
12 changed files with 214 additions and 49 deletions
+3 -1
View File
@@ -219,7 +219,9 @@ export class NotificationsService {
//this.jsonstore.createCollection('Notifications',message);
this.DataArray.push(message)
console.log("On ReceiveNotification", this.DataArray)
this.storageService.store("Notifications",JSON.stringify(this.DataArray))
this.storageService.store("Notifications",JSON.stringify(this.DataArray)).then(()=>{
})
console.log(message);
var data = JSON.parse(message.payload);