react-native-segmented-control icon indicating copy to clipboard operation
react-native-segmented-control copied to clipboard

Problem after upgrading from 0.2.9

Open kfilios opened this issue 2 years ago • 7 comments

After upgrading to 1.1.2 from 0.2.9 I receive the following errors:

ERROR TypeError: _ReanimatedModule.default.configureProps is not a function. (In '_ReanimatedModule.default.configureProps(Object.keys(NATIVE_THREAD_PROPS_WHITELIST), Object.keys(UI_THREAD_PROPS_WHITELIST))', '_ReanimatedModule.default.configureProps' is undefined) ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native. ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.

I have react-native-reanimated 2.1.0 and react-native-gesture-handler 2.3.2 installed and developing in iOS only.

I couldn't find any solution. Do you have any idea of what could cause this issue?

Thanks in advance!

kfilios avatar Apr 08 '22 09:04 kfilios

Thanks for raising the issue, @kfilios I will look into it.

Karthik-B-06 avatar Apr 18 '22 04:04 Karthik-B-06

Getting same issue

    "react": "17.0.2",
    "react-native": "0.68.1",
    "react-native-gesture-handler": "^2.4.2",
    "react-native-reanimated": "^2.8.0",
    "rn-segmented-control": "^1.1.2"

denissdubinin avatar May 11 '22 09:05 denissdubinin

same here

Temkit avatar Jul 22 '22 10:07 Temkit

adjust "resoulutions" key in the package.json, the run yarn start again.

  "resolutions": {
    "react-native-reanimated": "^2.9.1"
  },

mberatsanli avatar Aug 04 '22 20:08 mberatsanli

Is it not fixed yet? I can't use this library

Tauka avatar Sep 09 '22 14:09 Tauka

This module is broken and cannot co-exist alongside other installed versions with gesture handler and reanimated.

Can pls someone fix this.

exotexot avatar Oct 17 '22 23:10 exotexot

https://github.com/whatdtech/react-native-segmented-control

this is a modified version of this fork installation details are in readme file. works with latest expo and bare react native .70 version

whatdtech avatar Oct 21 '22 12:10 whatdtech