You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed react-native-gesture handler for my RN 77+ project which has support for Android 15 page size memory.
It seems com.facebook.react.uimanager.BaseViewManagerInterface class has been removed and RN team has done few more changes to their core libraries because gestured handler depend on those compilation error is thrown.
node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/RNGestureHandlerPackage.kt:22:1 Class 'RNGestureHandlerPackage' is not abstract and does not implement abstract member public abstract fun getViewManagerNames(reactContext: ReactApplicationContext): Collection defined in com.facebook.react.ViewManagerOnDemandReactPackage
node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/RNGestureHandlerPackage.kt:40:3 'getViewManagerNames' overrides nothing
node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/RNGestureHandlerPackage.kt:43:3 'getViewManagers' overrides nothing
node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/RNGestureHandlerPackage.kt:46:3 'createViewManager' overrides nothing
node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.kt:43:72 Type argument is not within its bounds: should be subtype of 'BaseViewManagerInterface!'
node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootViewManager.kt:22:83 Type argument is not within its bounds: should be subtype of 'BaseViewManagerInterface!'
Steps to reproduce
Setup a RN project with 0.77.0-rc.4.
Install the gesture handler and try to run the project
Snack or a link to a repository
no link
Gesture Handler version
2.21.2
React Native version
0.77.0-rc.4
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
Android emulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered:
Hi @kprabath! I've just built our apps on 0.77.0-rc.6 and it builds correctly. Issues that you've mentioned were fixed in #3278. However, they have not been released yet.
Description
I installed react-native-gesture handler for my RN 77+ project which has support for Android 15 page size memory.
It seems com.facebook.react.uimanager.BaseViewManagerInterface class has been removed and RN team has done few more changes to their core libraries because gestured handler depend on those compilation error is thrown.
node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/RNGestureHandlerPackage.kt:22:1 Class 'RNGestureHandlerPackage' is not abstract and does not implement abstract member public abstract fun getViewManagerNames(reactContext: ReactApplicationContext): Collection defined in com.facebook.react.ViewManagerOnDemandReactPackage
node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/RNGestureHandlerPackage.kt:40:3 'getViewManagerNames' overrides nothing
node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/RNGestureHandlerPackage.kt:43:3 'getViewManagers' overrides nothing
node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/RNGestureHandlerPackage.kt:46:3 'createViewManager' overrides nothing
node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.kt:43:72 Type argument is not within its bounds: should be subtype of 'BaseViewManagerInterface!'
node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootViewManager.kt:22:83 Type argument is not within its bounds: should be subtype of 'BaseViewManagerInterface!'
Steps to reproduce
Setup a RN project with 0.77.0-rc.4.
Install the gesture handler and try to run the project
Snack or a link to a repository
no link
Gesture Handler version
2.21.2
React Native version
0.77.0-rc.4
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
Android emulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: