react-native-unity
react-native-unity copied to clipboard
App going FullScreen ?
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.
Yes, for me too even setting fullScreen={false} is not working
same issue - any suggestions?
@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! 🙏
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.
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: @.***>