Thick black edge / border around React Native app on Android

Some time ago I built an Android app with React Native. We tested it on several devices and did not have any problems that I ask about here.

What I am asking here is suggestions on what might be causing this. I’m an application developer, but in this case I don’t know where to start.

Recently, someone installed it on HTC One m7, and now this thick black frame around the screen where the application should be. There is an image at the end.

You can see that the application is still expanding to full size, but should be closed.

This is the first time I have seen this, and after some searching it may not seem like anyone else is complaining about such things. This is the only time I saw it on any of the devices on which we ran it.

What ideas might be the reason?

enter image description here

+5
android react-native
source share
1 answer

In my case, I just delete this line:

<item name="android:windowBackground">@drawable/launch_screen_bitmap</item>

In res / values ​​/styles.xml:

And it works great.

+1
source share

All Articles