Portrait View Mobile

I am trying to make a Portrait mobile game. I have set up an orthographic camera using ratio as 0.5625.
It’s working fine in full screen on a standard mobile hower, in larger screens such as huawei 10 pro or 20 pro there are black lines top and bottom.
I have tried to change the ratio to 0.5 for them by I still get the black bars.
Is there a way to scale the game to adatp and force the full screen to all mobiles?

Maybe my information is outdated, but even if you can get/calculate desired aspect.ratio, you cannot change it in runtime on mobile device. So the only way is to make different builds with different aspect ratios for appropriate devices, and submit them accirdingly.

Anyway, you can search for GameViewportClient and investigate, maybe this would be helpful.