Skip to content

fix: remove moduleName method for React Native 0.76 compatibility#200

Open
LloydC wants to merge 1 commit into
walterholohan:masterfrom
LloydC:feature/upgrade-to-rn-0.76.1
Open

fix: remove moduleName method for React Native 0.76 compatibility#200
LloydC wants to merge 1 commit into
walterholohan:masterfrom
LloydC:feature/upgrade-to-rn-0.76.1

Conversation

@LloydC
Copy link
Copy Markdown

@LloydC LloydC commented Dec 16, 2025

Summary

Fix IOS build failure (Expo 52.0.46).

Main change

Due to React Native 0.76 using TurboModules in its new architecture, the codegen was automatically creating a duplicate of moduleName which caused the ios build to fail because of the method being defined twice (natively and via the codegen).

I removed moduleName in the file NativeCrispModule.mm and it took care of the issue.

Screenshot 2025-12-16 at 12 32 53

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