I have a TWA application. When I receive FCM push notifications, with a link to my PWA site, clicking on them opens the Chrome browser. But I need all the links to my site to open my TWA application.
I found a solution, just add this to your AndroidManifest.xml:
<application>
...
<meta-data
android:name="cros_web_alternative"
android:value="https://www.example.com/" />
...
</application>