I'm trying to implement a messaging sub system in a multi platform app for web and mobile using Firebase Cloud Messaging (FCM). FCM allows you to send messages in two formats: Notifications and Data.
Notifications are shown by the platform, eg. in a little popup on the web platform or added to a list of notifications on your mobile phone.
Data messages are handled by your application.
Before the app can receive messages, you have to ask the user for permission to send/receive notifications.
Now, when the user blocks notifications, data messages seem to be blocked as well. Am i missing something, or is this by design?