react-native-unity
react-native-unity copied to clipboard
Add Unity post-processing build scripts for iOS and Android
Summary
This PR adds Unity post-processing build scripts for both iOS and Android platforms to automate the setup required for proper integration with the @azesmway/react-native-unity package.
✅ iOS:
- Reassigns the
Data/folder from the defaultUnity-iPhonetarget to theUnityFrameworktarget - Marks
NativeCallProxy.has a Public header inUnityFrameworkfor external access via React Native
✅ Android:
- Removes all
<intent-filter>blocks fromAndroidManifest.xmlin the Unity-generatedunityLibraryto prevent duplicate launcher activity conflicts with the React Native host app
Notes
The scripts are placed in: unity/Editor/PostProcessBuild/ They run automatically when Unity builds for Android or iOS.