1 thought on “Native module cannot be null

Comments are closed.

4 thoughts on “Native module cannot be null?

  1. I’ve seen this error only when react-native-reanimated wasn’t linked or after linking I forgot to rerun the app (react-native run-ios). I can’t figure out what it was without a code.

  2. The issue is that react-native link react-native-reanimated is not properly linking the react-native-reanimated library. You have to link it manually in Xcode. i.e add RNReanimated.xcodeproj to the libraries folder, then add libReanimated.a to the link binary with libraries

  3. ℹ️ TIP:
    To verify if linking works properly or not, just check ios/ProjectName.xcodeproj/project.pbxproj should have few changes, including libRnReanimated.a.
    If changes are in place, make sure to have run pod install from ios folder.

Comments are closed.

1 thought on “Native module cannot be null

Comments are closed.