react-native-tab-view icon indicating copy to clipboard operation
react-native-tab-view copied to clipboard

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

Open jatin-mohindra opened this issue 7 years ago • 20 comments

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

jatin-mohindra avatar Mar 11 '19 06:03 jatin-mohindra

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 avatar Mar 12 '19 13:03 weikilla

@weikilla please link reanimated as mentioned in README

Closing issue due to incomplete issue template.

satya164 avatar Mar 12 '19 13:03 satya164

@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

jatin-mohindra avatar Mar 13 '19 05:03 jatin-mohindra

Same issue. Android only. please help !

AmitM30 avatar May 02 '19 05:05 AmitM30

Same issue ((

alshirokov81 avatar May 23 '19 16:05 alshirokov81

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 :/

Ilphrin avatar May 29 '19 10:05 Ilphrin

Using renderScene props. Still facing the same issue.

Nextt1 avatar May 30 '19 21:05 Nextt1

SAME ISSUE!!!!!

ghost avatar Jul 10 '19 00:07 ghost

Hello!!

ghost avatar Jul 10 '19 00:07 ghost

@weikilla have you found any solution?

muhammad-nauman avatar Jul 16 '19 05:07 muhammad-nauman

@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 avatar Jul 16 '19 05:07 muhammad-nauman

@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.

jayrajkachariya avatar Jul 29 '19 07:07 jayrajkachariya

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

AndroidDoctorr avatar Aug 05 '19 23:08 AndroidDoctorr

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;

mdoubah87 avatar Sep 13 '19 16:09 mdoubah87

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

Shirley-Liz avatar Nov 28 '19 09:11 Shirley-Liz

I am having same issue that has @Shirley-Liz

sanjayradadiya avatar Nov 29 '19 07:11 sanjayradadiya

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

kojongDev avatar Dec 20 '19 06:12 kojongDev

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

alidiepuit avatar Jan 06 '20 14:01 alidiepuit

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

rdodda527 avatar Feb 06 '20 01:02 rdodda527

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

mayank-budhiraja avatar Apr 20 '20 19:04 mayank-budhiraja