How to force portrait mode orientation for TWA

Hello,

I’m trying to implement a TWA and I’m currently launching the latter with the following
TrustedWebActivityIntentBuilder(myURL).setScreenOrientation(ScreenOrientation.PORTRAIT).build(it).launchTrustedWebActivity(this@LauncherActivity)

When I’m launching the app, it does work lock the orientation if my default browser is Chrome but for users that have a samsung phone, the default browser is usually Samsung Internet browser. With this latter browser, the orientation is not locked and is switched to the landscape mode when users are rotating their phone.

Is it because Samsung browser doesn’t support this TWA feature?

Hello
Please create a support request in the Samsung developer support channel (Support | Samsung Developer)