When I recieve a Push notification I add something to an array. I use that array in my html to show messages like on whatsapp. All works fine when I use buttons and I checked my Code for more than 12h now and it should normally work right. The problem is that when I recieve a push notification the view doesn’t refresh even if the console logs are right and the array gets extended. When I use a button to add something to the array all works fine. I can share my code if needed but I think that isn’t even necessary for a solution (push notifications itself are working).
18 posts - 2 participants