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

React Native not receiving touch events from iOS.

Open eleazar-braga-playkids opened this issue 1 year ago • 1 comments

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: image 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 avatar May 17 '23 21:05 eleazar-braga-playkids

@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

rcorrie avatar Jan 09 '24 17:01 rcorrie