I am using Firebase Cloud Messaging to send notifications to clients of my app. The clients can be any of the three supported platforms (ios, android, web).
I want the user to be able to click on the notification to launch the app.
For this i have to specify a click_action in the notification.
For ios and android that seems to be a simple string.
For web it would be an url.
How am i supposed to send a notification that works for a potentially mixed set of devices?
Do i have to separate the devices and send different messages to them?