I wonder if there is a possibility to handle data payload somehow when the user has disabled notifications and app is in foreground. In such case APN returns success (notification is sent), but didReceiveRemoteNotification
is never invoked.
When the user disables notifications I do not expect him to get any notification in the tray. However, I am looking for a way how to receive the data payload in the app delegate. For example, if user disables notifications in Android system tray message is never shown, however, notification handler is invoked and the app receives the data.