react-native-unity icon indicating copy to clipboard operation
react-native-unity copied to clipboard

App going FullScreen ?

Open Thomas-akkari opened this issue 8 months ago • 5 comments

I'm using @react-navigation/bottom-tabs and I have an issue:

  • When accessing my Screen with my UnityView, the App immediately goes fullscreen, ignoring any SafeAreaView. Even when leaving the Screen with my UnityView, the app stays in fullscreen and ignores all SafeAreaView even in other screens.

Did anyone face this issue before ?

This is tested on a real Android device, Galaxy S22.

Thomas-akkari avatar Mar 30 '25 11:03 Thomas-akkari

Yes, for me too even setting fullScreen={false} is not working

bhsrampage avatar Apr 07 '25 17:04 bhsrampage

same issue - any suggestions?

EvvTim avatar Apr 10 '25 09:04 EvvTim

@Thomas-akkari if you happen to find a solution to this issue could you please share it here? it would be really helpful for others facing the same problem. tanks in advance! 🙏

EvvTim avatar Apr 10 '25 09:04 EvvTim

I've got the same issue, I'm unable to constrain the app into a set size or to overlay React elements on top of the full screen app, I tried both options. My goal is to have RN UI over the Unity core gameplay.

PierreGerbaud avatar Apr 27 '25 11:04 PierreGerbaud

Cor the full screen problem, when you create the unity build set the settings of display mode to windowed and then it won't switch to full screen on render in React Native. As far as rendering the components on top is concerned that is something I am still facing, a possible solution is to render the components directly into unity rather than keeping them on RN side.

Le dim. 27 avr. 2025, 07:28, Pierre Gerbaud @.***> a écrit :

PierreGerbaud left a comment (azesmway/react-native-unity#157) https://github.com/azesmway/react-native-unity/issues/157#issuecomment-2833408591

I've got the same issue, I'm unable to constrain the app into a set size or to overlay React elements on top of the full screen app, I tried both options. My goal is to have RN UI over the Unity core gameplay.

— Reply to this email directly, view it on GitHub https://github.com/azesmway/react-native-unity/issues/157#issuecomment-2833408591, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOSB6UAVKZN4LXUQY74ETXD23S5PNAVCNFSM6AAAAAB2COE4DWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMZTGQYDQNJZGE . You are receiving this because you commented.Message ID: @.***>

bhsrampage avatar Apr 27 '25 16:04 bhsrampage