react-native-unity
react-native-unity copied to clipboard
NativeCallProxy.h is not in my Unity Project
Hi azesmway
Thanks for your great work here. Your package saves my life.
I have just one problem. My Unity Project does not contain the NativeCallProxy.h. I don't know how to add it. I found different versions of it by googling. Would yo mind giving us a hint on how to integrate the right ones. I would like to help write this down in an easy to understand way to help other users.
Thanks!
Please see example https://github.com/azesmway/react-native-unity/tree/main/example/unity/source/Assets/Plugins/iOS
Wow! That was quick! I will try this right away.
Wow! That was quick! I will try this right away.
Did you create a Plugins folder and copied these 4 files? I too have this same issue.
Wow! That was quick! I will try this right away.
Did you create a Plugins folder and copied these 4 files? I too have this same issue.
I had the folder Plugins
already and just created the folder iOS
. I then put the NativeCallProxy.h
and NativeCallProxy.mm
in there. Unity automatically picked them up and created the *.meta
files.
That all worked perfect. After exporting again you probably have to check the settings of the Data folder and clean iOS build folder. Don't forget to mark NativeCallProxy.h as public in your React Native project.
Thanks again to @azesmway! ❤️