react-native-unity
react-native-unity copied to clipboard
React Native not receiving touch events from iOS.
Hello @azesmway!
Thanks for your awesome work doing this component, it helped my work immensely. That been said, my team managed to experiment it with our app, but for some weird reason, the touch inputs from iOS aren't working and we can't interact with any kind of button.
After a little search, we found this solution:
Adding
[[[ufw appController] window] setWindowLevel:UIWindowLevelNormal - 1];
to ReactNativeUnity.m
And this seems to fix our problems! What do you think about this? Could we make a patch release with this?
Thanks again!
@eleazar-braga-playkids I had found another way of fixing this issue, but it caused an avalanche of other, seemingly unrelated, pernicious issues.
Your solution is perfect, you don't know how grateful I am. THANK YOU