I have built a PWA with TWA & generated APK following the official Google guide here - https://developers.google.com/web/updates/2019/02/using-twa
What's happening is that when a different browser apart from Chrome is set as default, the behaviour is unpredictable. For example: on a Xiaomi phone where MI Browser is the default, my app works just as a shortcut & the page just loads in one of the tabs of the browser. This phone had Chrome installed, but my app still used the default browser to render my PWA.
Official documentation states the following:
Today, if the user's version of Chrome doesn't support Trusted Web activities, Chrome will fall back to a simple toolbar using a Custom Tab. It is also possible for other browsers to implement the same protocol that Trusted Web activities use. While the host app has the final say on what browser gets opened, we recommend the same policy as for Custom Tabs: use the user's default browser, so long as that browser provides the required capabilities.
While the guide has this paragraph, I'm unable to find any documentation on how to set a preferred browser for my PWA