victorkvarghese / react-native-boilerplate

🚀 Type Based Architecture for developing React Native Apps using react, redux, sagas and hooks with auth flow
MIT License
605 stars 207 forks source link

Attempt to invoke interface method 'boolean.com.swmansion.reanimated.layoutReanimation.NativeMethodsHolder.isLayoutAnimationEnabled()' on null object reference #35

Closed dguard closed 2 years ago

dguard commented 2 years ago

Help us reproduce - tell us about your environment

  1. Ubuntu
  2. Android
  3. Latest Master

Steps to reproduce

  1. git clone https://github.com/victorkvarghese/react-native-boilerplate
  2. npx react-native-rename reactnativeboilerplate
  3. yarn install
  4. yarn start
  5. npx react-native run-android

Expected result

  1. It should run successfully on android

Actual result

Screenshot_20220108-143418_dcreactnativeboilerplate

dguard commented 2 years ago

Fixed with this: https://github.com/software-mansion/react-native-reanimated/issues/2702#issuecomment-1001948192

Just use different version react-native-reanimated "react-native-reanimated": "2.2.4"

Without ^

victorkvarghese commented 2 years ago

Fixed with commit