Skip to content

Add Unity post-processing build scripts for iOS and Android #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

menstood
Copy link

@menstood menstood commented May 1, 2025

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 default Unity-iPhone target to the UnityFramework target
  • Marks NativeCallProxy.h as a Public header in UnityFramework for external access via React Native

✅ Android:

  • Removes all <intent-filter> blocks from AndroidManifest.xml in the Unity-generated unityLibrary to 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant