In no way can I add support for the 18: 9 aspect ratio in my android application on the ionic framework. I use the 6 "smartphone Xiaomi Redmi S2. The application starts, but below it hangs a black bar giving the application a standard 16: 9 aspect ratio. Please explain in the simplest possible way what needs to be done so that the application works at full height.

Xiaomi Redmi S2 with an application that does not support the new aspect ratio format

    1 answer 1

    Found the answer. It is necessary in the file My10 copy \ platforms \ android \ CordovaLib \ AndroidManifest.xml to add the following between the manifest tags

    <application> <meta-data android:name="android.max_aspect" android:value="2.1" /> </application>[![введите сюда описание изображения][1]][1] 

    enter image description here

    enter image description here