Handling notifications on iOS 10+


I am trying to run some code after a user has received a notification on an iOS 10+ device while the app is running in the foreground. According to JUCE Documentation this seems to not be possible anymore through the PushNotifications::Listener::handleNotification() method. Is there another way to capture this event?