FCM push notifications on mutliple TWA on same domain

Viewed 215

I am working on a use case where I am trying to create multiple TWAs which run on same domain but with different routes. Like this

I have gone through this thread to know that creating multiple TWAs on same domain is doable. But I am not able to understand how push notifications will work in this case.

Since firebase credentials are same on the three TWA , so I assume that same FCM token will be generated for all three TWA(since they run on browser) . Now If I send a push notifications to TWA-1 , how do I manage to open the targeted TWA on notification click and not the other.

Please excuse brevity.

0 Answers
Related