-
-
Notifications
You must be signed in to change notification settings - Fork 955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RectButton onPress does not work #699
Comments
The same issue I'm facing, were you able to fix this? |
Dont worked here :( |
The same problem happens again... |
UPDATE 2022-08-17 Documentation changed and the installation is now more easier the ever. https://docs.swmansion.com/react-native-gesture-handler/docs/next/installation/#js Resume: install the lib After installation, wrap your entry point with
|
for me onPress trigger but ripple effect sometimes and most of the time not working. an strange behaviour |
I have the exact same problem and I'm loosing my mind, did you ever found something ? |
@adblanc, please don't comment on closed issues, those reports are easily missed. You can create a new issue with repro, we'll try to figure this out 😄 |
perhaps you can try this.
|
just add in your MainActivity.java at the imports
and at the final
it'll look like this
|
thanks @lincolnBerlick, this solution worked for me |
Hello, I am using react-native-gesture-handler version "~2.1.0" , I tried the above solution and it works fine, but then I get this new error: Possible Unhandled Promise Rejection (id: 0):Error: No native splash screen registered for provided activity. Please configure your application's main Activity to call 'SplashScreen.show' (https://github.com/expo/expo/tree/master/packages/expo-splash-screen#-configure-android). Any help? This what I had before : @OverRide Added this as stated above : @OverRide |
Any one who has same problem with this just add this line to the onCreate function: |
Be sure to follow complete setup steps for react-native-gesture-handler, including wrapping your root component in |
Why this issue is closed? The problem hasn't been resolved and still occurs on Android. |
Hi,
RectButton
'sonPress
doesn't work. I'm using React Native 0.60.4 inside of a Styled Component:I've tried running
jestify
, a manual React Native link despite the recommendations, cleaning cache but nothing works. It decided not to work for NOTHING.The text was updated successfully, but these errors were encountered: