f111fei / react-native-unity-view

Show an unity view in react native
MIT License
402 stars 102 forks source link

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

Open abhyudairagh007 opened 5 years ago

abhyudairagh007 commented 5 years ago

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,

JanOwiesniak commented 5 years ago

You could give this a try.

abhyudairagh007 commented 5 years ago

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 ?

Apetrou commented 4 years ago

Any update as to the reason this is happening?