React-native-reanimated: Native module cannot be null?

Created on 8 Mar 2019  路  11Comments  路  Source: software-mansion/react-native-reanimated

Why this error happen?

screen shot 2019-03-08 at 13 23 54

Most helpful comment

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

All 11 comments

@galuh1300d Could you provide reproduction code? It's kinda wild guess what happened with that information.

@galuh1300d Could you provide reproduction code? It's kinda wild guess what happened with that information.

My code was deleted, i got this error while installing react-native-tab-view
i've reported in that repo but the answers suggest me to react-native link react-native-reanimated, if the error still happened they suggest me to report this in this repo

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.

I have the same issue on RN 0.59

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

I have the same issue on RN 0.59
when i have link

Same issue on RN 0.58

鈩癸笍 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.

@usrbowe Hey, I can't see any folder or file as name project.pbxproj& libRnReanimated.a !

Hey folks,
this thread seems inactive so I'm closing it

if react-native link react-native-reanimated or @nlabofa's solution doesn't work, don't hesitate to ask

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.

I also noticed it happened to me and I had to re-run 'react-native run-ios'

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jwhscholten picture jwhscholten  路  4Comments

zxccvvv picture zxccvvv  路  3Comments

nextriot picture nextriot  路  3Comments

sa8ab picture sa8ab  路  3Comments

mrousavy picture mrousavy  路  3Comments