I\'m trying to send some data to my users via the new Firebase push notifications service.
I\'m adding some \"key-value\" custom data items with \'Message text\' -
When you application is in the foreground, notifications will be passed to FirebaseMessagingService.onMessageReceived()
. When the app is not in the foreground, the notification will be handled by the default notification center.
Also see:
How to push firebase notification only when CheckBoxPreference is checked?
Open app on firebase notification received (FCM)