React-native-tab-view: Android only -> E/ReactNativeJS: undefined is not an object (evaluating '_ReanimatedModule.default.configureProps')

Created on 11 Mar 2019  路  20Comments  路  Source: satya164/react-native-tab-view


Current behaviour

Expected behaviour

Code sample

Screenshots (if applicable)

Getting this error in logcat only on android:
screenshot 2019-03-08 at 17 39 36 10

What have you tried

linking reanimated using react-native link

Your Environment

| software | version
| ---------------------------- | -------
| ios or android |Android
| react-native |0.57.5
| react-native-tab-view |2.0.1
| react-native-gesture-handler |^1.1.0
| react-native-reanimated |^1.0.0-alpha.12
| node |10.15.0
| npm or yarn |yarn

Most helpful comment

He's referring to this step, for react-native 0.59 or lower:
react-native link react-native-reanimated
react-native link react-native-gesture-handler
Took me a while to figure out because I thought I was using the latest react-native

All 20 comments

i meet the same issue, i get the error message: null is not an object(evaluating '_ReanimatedModule.deafult.configureProps'), is there anyone who can help with me?

@weikilla please link reanimated as mentioned in README

Closing issue due to incomplete issue template.

@satya164 I have updated the template above. pls let me know if more info is required. also I linked reanimated as mentioned in the README but it does not work. the issue is only for android

Same issue. Android only. please help !

Same issue ((

I had the same issue, changed form using SceneMap to a custom renderScene method, rebuilt via Android Studio, and restarted metro bundler. Now it is working! I don't know which step fixed this issue though :/

Using renderScene props. Still facing the same issue.

SAME ISSUE!!!!!

Hello!!

@weikilla have you found any solution?

@weikilla and others, here is the solution:
Make sure that you've added
new ReanimatedPackage(),in MainApplication.java under getPackages

Import from: import com.swmansion.reanimated.ReanimatedPackage;

@muhammad-nauman we don't need to do it, if we are using React-Native v0.6 or greater. react-naitve link command will do it for us and don't need to override the package-list in MainApplication.java.

I had similar issue, For me just reinstalling node_modules worked fine.

He's referring to this step, for react-native 0.59 or lower:
react-native link react-native-reanimated
react-native link react-native-gesture-handler
Took me a while to figure out because I thought I was using the latest react-native

Thanks @muhammad-nauman
Make sure that you've added
new ReanimatedPackage(),in MainApplication.java under getPackages
new RNGestureHandlerPackage(), in MainApplication.java under getPackages

Import from: import com.swmansion.reanimated.ReanimatedPackage; and
Import from: import com.swmansion.gesturehandler.react.RNGestureHandlerPackage;

I have done all the above but the error still persists, i am running react native 0.61.2 , react-navigation 4.0.10, react-native-tabs 2.5.6

I am having same issue that has @Shirley-Liz

In android my case I just got an error with install and link. If you sync later, it will be solved.

I still have this issue (android). Any suggest for this?

Screen Shot 2020-02-05 at 5 44 39 PM
Mine just says "n.default.ConfigProps" - Any idea how to resolve this?

Facing the same issue. Couldn't resolve it. Any help?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jouderianjr picture jouderianjr  路  3Comments

karthikeyansundaram2 picture karthikeyansundaram2  路  3Comments

QuentinBrosse picture QuentinBrosse  路  4Comments

jasonkw9 picture jasonkw9  路  3Comments

lubomyr picture lubomyr  路  3Comments