react-native-action-sheet: [Android]TypeError: Super expression must either be null or a function in react-native@0.62.0-rc.5

Description:

  • the error happens while running react-native run-android after upgrade from 0.61.5 to 0.62.0-rc.5.
  • this upgrade change is according to https://react-native-community.github.io/upgrade-helper
  • screenshot here, and I see TouchableNativeFeedbackSafe in the error stack, and I found it was invoked by ActionSheetProvider
screenshot

image

React Native version:

react-native info outputs
  System:
    OS: macOS 10.15.3
    CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
    Memory: 252.58 MB / 16.00 GB
    Shell: 2.7.1 - /usr/local/bin/fish
  Binaries:
    Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
    Yarn: 1.22.4 - ~/.yarn/bin/yarn
    npm: 6.10.3 - ~/.nvm/versions/node/v10.16.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 23, 28, 29
      Build Tools: 28.0.3, 29.0.2
      System Images: android-25 | Google APIs ARM EABI v7a, android-29 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.6 AI-192.7142.36.36.6241897
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  npmPackages:
    @react-native-community/cli: ^4.3.0 => 4.3.0 
    react: 16.13.0 => 16.13.0 
    react-native: 0.62.0-rc.5 => 0.62.0-rc.5 
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

  1. change my codes according to https://react-native-community.github.io/upgrade-helper.
  2. run react-native run-ios, and it is OK.
  3. run react-native run-android and then meet this error.
  4. I just created a new project with react-native@0.62.0-rc.5 and @expo/react-native-action-sheet@3.5.0, the problem can reproduce, here is the link

Expected Results

  1. successfully run the android app.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 17
  • Comments: 20

Most upvoted comments

πŸŽ‰ This issue has been resolved in version 3.6.0 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

sry, it was https://github.com/FaridSafi/react-native-gifted-chat/issues/1703 after force resolution it’s now working.

I’m sorry for the delay on this!

I’m blocked by this issue too