I can send notifications just fine, the device is registered just fine and I can use the query builder to select devices which update their channels just fine.
When I use the Push Notification event (on my starting page, my main template or any other page for that matter) and choose to Run Javascript with the code 'alert(data.aps.alert)' or any other code like 'localStorage.setItem('_lastPush', JSON.parse(data.aps.alert))' the events are never fired. When is this event supposed to fire? When the notification is clicked and the app is opened? I have also tried receiving notifications when the app is open on the device to see if any events are triggered.
It seems I just don't know how to use the event (and there seems to be no documentation).
Problem in broader terms: How would I save a push notification in localStorage? The answer to this should answer my question.