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-androidafter upgrade from0.61.5to0.62.0-rc.5. - this upgrade change is according to https://react-native-community.github.io/upgrade-helper
- screenshot here, and I see
TouchableNativeFeedbackSafein the error stack, and I found it was invoked byActionSheetProvider
screenshot

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
- change my codes according to https://react-native-community.github.io/upgrade-helper.
- run
react-native run-ios, and it is OK. - run
react-native run-androidand then meet this error. - 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
- successfully run the android app.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 17
- Comments: 20
π 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