This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Description
Sending a push notification only calls on('notification') once, while the app is in the foreground.
To reproduce:
- add a console.log to the
on('notification') callback
- deploy to device and leave the app in the foreground
- send it a push notification
- XCode logs native
Push Plugin key: alert etc
on('notification') callback is fired and outputs to log
- send another push notification
- xcode still logs native
Push Plugin key: alert etc
- on('notification') doesn't get fired