f111fei/react-native-unity-view

[Issue]Shows a black screen while creating unity view inside tab view

abhyudairagh007 opened this issue · 3 comments

We are trying to put the unity view inside a tab view and once we switch from unity view to any other tabs its showing black screen. But if the app goes to back ground and comes back ,contents will be shown and black screen will be gone.
As for now we have made the view style height to 99.4 and resolved the issue temporarily.
If anyone could tell me what could be the possible reason for this issue and is there ant fix for this it would be great
Thank you,

You could give this a try.

We tried this but still there is a white gap on top and bottom of the view which looks a bit awkward,
What is the reason causing the black screen if unity view covers the whole screen and switches back to another view ?

Any update as to the reason this is happening?