578 questions
0
votes
0
answers
41
views
React native: Touches are not working for positioned absolutely Animated.View on Android
image showing the ui layout for this code:
<Animated.View className="flex-1 items-center justify-center bg-red-600">
<Animated.View className="h-40 w-48 bg-green-800">...
0
votes
1
answer
101
views
React native: touches don’t reach absolute positioned child under transformed
When a child is wrapped with position: 'absolute' under a panned/zoomed parent, the UI renders but touches don’t reach the child (video doesn’t start / player UI not interactive).
The exact same ...
0
votes
0
answers
109
views
React-native Pinch-to-zoom doesn’t keep the focal point fixed(react-native-gesture-handler)
Here is a short demo for the problem:
https://gist.github.com/slhhuseein-jpg/09eb2e2ef458bff81298bdd3d5e49da0?permalink_comment_id=5818819#gistcomment-5818819
As you can see. When performing a pinch-...
0
votes
0
answers
42
views
react native reanimated card swiper: exiting card flashes before unmount
Im implementing a Tinder card swiper using react native reanimated and gesture handler (with expo). The core logic functions correctly: when swiping over a card past the threshold, it animates off the ...
0
votes
1
answer
704
views
Which version of react-native-reanimated and react-native-worklets is compatible with React Native 0.79.6?
I am working on a project with the following setup:
"react": "19.0.0",
"react-native": "0.79.6"
I want to add react-native-reanimated and react-native-worklets, ...
0
votes
1
answer
144
views
Task :react-native-reanimated:assertMinimalReactNativeVersionTask FAILED with React Native 0.75.5 and Reanimated 3.16.7
I'm trying to build my React Native project with the following versions:
React Native: 0.75.5
React Native Reanimated: 3.16.7
When I run the project, I get the following Gradle error:
Task :react-...
3
votes
1
answer
777
views
React Native scheduleOnRN Causing Android Crash
I noticed that runOnJS is deprecated in "react-native-worklets": "0.5.1". ESLint keeps hinting me concerning this deprecation and I can't move on unless I disable eslint for the ...
0
votes
1
answer
519
views
TypeError: useAnimatedGestureHandler is not a function after upgrading to Expo SDK 54 with react-native-reanimated and @gorhom/bottom-sheet
I recently upgraded my Expo project from SDK 53 to SDK 54. After the upgrade, I started seeing the following runtime error when launching my app:
TypeError: 0, _reactNativeReanimated....
5
votes
2
answers
7k
views
React Native Reanimated worklets issue after upgrading to Expo SDK 54
I started getting this error after updating to expo 54 from 53.
[TypeError: 0, _reactNativeReanimated.useWorkletCallback is not a function (it is undefined)]
these are my package versions:
"...
0
votes
0
answers
76
views
Which versions of gesture-handler, reanimated, safe-area-context, and screens work with React Native 0.74.3?
I am using React Native 0.74.3 for my project, and I want to install navigation-related dependencies.
Specifically, I want to know which versions of these libraries are compatible with React Native 0....
0
votes
0
answers
79
views
React Native Android build fails: configureCMakeDebug[arm64-v8a] FileNotFoundException (Access is denied)
I’m trying to build my React Native project on Windows, but I keep getting a CMake-related error when Gradle runs.
Here’s the exact error:
What went wrong:
Execution failed for task ':react-native-...
0
votes
0
answers
40
views
Execution failed for task ':react-native-reanimated:configureCMakeDebug[arm64-v8a]
I am trying to run my React Native project on Android using:
npx react-native run-android
But I keep getting the following build error:
> Task :react-native-reanimated:configureCMakeDebug[arm64-...
0
votes
1
answer
102
views
How to synchronize two horizontal ScrollViews in React Native without delay (using Reanimated)?
I need to synchronize two horizontal ScrollViews in React Native so that they stay perfectly aligned while scrolling.
I already tried the standard approach with onScroll listeners and manually ...
2
votes
1
answer
968
views
React Native Reanimated error "unable to find viewstate for tag *** surface stopped. False"
I saw this beautiful bottom nav bar by Harisene (Harisene - Custom Bottom Nav Bar) and tried to implement it on my react native app.
It works fine (for some time), but at random, it crashes the app ...
2
votes
1
answer
374
views
React Native Reanimated: useScrollViewOffset not working with stickyHeaderIndices and absolutely positioned views
I'm trying to create an animated header that moves based on scroll position using React Native Reanimated, but the useScrollViewOffset hook isn't tracking scroll events properly when combined with ...
-1
votes
1
answer
91
views
App crashes on first drag in drag-and-drop game
I'm building a drag-and-drop game in React Native using Reanimated v2 and react-native-gesture-handler. The game involves dragging Javanese characters (letter) to matching target boxes. Everything ...
0
votes
0
answers
36
views
How to make this customized view or bottom sheet in react native
i really like this bottom sheet or custom view been displayed in this application i just wanted to know if we can achieve this in react native ?
any material or anything regarding it would be helpful
...
0
votes
0
answers
165
views
Expo Android Build Fails (Windows): ninja: build stopped: subcommand failed in expo-modules-core
I'm working on an Expo 52 project with React Native, and I'm encountering a build failure on Windows 11 (does not happen on Mac) when running npx expo run:android. The error message is:
"C:\Users\...
0
votes
0
answers
46
views
Animated Spinner works on iOS but not Android
I have an animated spinner i made with ReAnimated - it works perfect on iOS, but on Android, it's just a static full circle. Any ideas how to fix this to be useable for both platforms?:
import React, ...
2
votes
2
answers
52
views
Apply smooth color shift to icons when touching it with Reanimated and HugeIcons
I'm building an app with a bottom navigation bar. But I'm struggled at making icons shift from black to white smoothly every time I touch it. I'm using HugeIcons for the icons and reanimated for the ...
1
vote
0
answers
73
views
react-native-reanimated:buildCMakeRelWithDebInfo timeout in CircleCI
I made a fresh react-native project to upgrade my existing project and added al my code and packages that I use. Locally I can succesfully build an Android app and iOS app. When I run my pipeline on ...
0
votes
0
answers
174
views
Why does the useAnimatedProps not work for applying transformations like transform to an SVG component on iOS and Web using React Native Reanimated?
I am trying to animate a Rect component using react-native-reanimated and react-native-svg. The transform works on Android using useAnimatedProps, but on iOS and Web, the rectangle does not rotate. It ...
0
votes
0
answers
35
views
Indicator Glitch in React native scrollspy
I am experiencing an issue with the tab indicator on Android when tabs autoscroll. The indicator disappears during the autoscroll process, and when I manually scroll the tabs back to their initial ...
0
votes
0
answers
39
views
How to force a fabric component callback ton run on the UI thread using reanimated runOnUI
I have a fabric component that looks like this:
import type {DirectEventHandler} from 'react-native/Libraries/Types/CodegenTypes';
import type {ViewProps, HostComponent} from 'react-native';
import {...
0
votes
0
answers
39
views
Type Errors on React-Native-Reanimated
I am using reanimated on a project and I am receiving an error
Argument of type '() => { transform: ({ rotateX: `${number}deg`; rotateY?: undefined; } | { rotateY: `${number}deg`; rotateX?: ...
1
vote
0
answers
265
views
Why is the Expo bottom bar so slow? How can I optimise it?
I used a bottom tab bar from a youtube tutorial but its really slow between the time I click on a tab and the time its start moving and going to the other tab
It take like 1 seconds between the moment ...
2
votes
0
answers
87
views
ReanimatedError in BottomSheetScrollView – Attempted to extract from a HostObject
I'm encountering a ReanimatedError when trying to use useAnimatedScrollHandler with BottomSheetScrollView from @gorhom/bottom-sheet. The error message is:
ReanimatedError: Exception in HostFunction: [...
0
votes
0
answers
21
views
React Native Reanimated useShrink bug on android
I am having a strange issue using React Native Reanimated library. I am trying to create a component that is split in the middle and will shrink to the left if a prop is set.
I have a snack example ...
1
vote
1
answer
436
views
RenderLeftActions from the Swipeable in React Native are not Working
Issue Explanation: Left Action Not Clickable in ReanimatedSwipeable
Problem Statement:
When using react-native-gesture-handler/ReanimatedSwipeable, the left action container appears when swiping left, ...
1
vote
1
answer
76
views
how to dynamically calculate the size of a parent inside a nested list ,while items are added or removed
so im working on menu where there are categories and sub categories and the sub categories is a collapsible and the collapsible has smooth animation my issue right now im giving a fixed height for the ...
0
votes
1
answer
178
views
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':react-native-reanimated'
Configure project :react-native-mmkv
[react-native-mmkv] Thank you for using react-native-mmkv ??
[react-native-mmkv] If you enjoy using react-native-mmkv, please consider sponsoring this project: ...
0
votes
0
answers
50
views
How do I create an animatable knob in React Native
So I am working on a pet project of mine to control my water pumping motor from my mobile app with a "timer knob". Basically I am knew to animations in React Native, so need some help in ...
0
votes
0
answers
55
views
react native reaminated error with 3.14.0 and react native 0.72.7
/Users/rased/Desktop/bhojonBdtask/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java:440: error: switch rules are not supported in -source 11
case &...
2
votes
1
answer
587
views
Modal not appearing (or toggling) when using react-native-reanimated-carousel (Android only)
I'm trying to display a modal when an item in my react-native-reanimated-carousel is pressed, but it either never appears or doesn't toggle correctly. I've created a minimal example below. When I tap ...
0
votes
0
answers
154
views
boxShadow on React Native 0.76 not working well with the SVG component
CurvedBottomTab
I am implementing an animated bottom tab with a cutout using d3-shape and react-native-reanimated following a guide from a GitHub repository:
https://github.com/hewad-mubariz/...
1
vote
1
answer
178
views
java.lang.UnsatisfiedLinkError: dlopen failed: library "libhermes_executor.so" not found
I upgraded my React native from 0.71.8 to 0.76.5. After the upgrade, I run the app on my Android phone, and I got the below error
java.lang.UnsatisfiedLinkError: dlopen failed: library "...
1
vote
1
answer
918
views
Gorhom BottomSheet Not Showing in React Native App
I'm trying to integrate the @gorhom/bottom-sheet library into my React Native app, but the BottomSheet is not appearing on the screen. Here's what I've tried so far:
FilterBottomSheet.js:
import ...
0
votes
0
answers
23
views
Log when entering / exiting animation starts animating in React Native Reanimated?
I'm trying to avoid state updates during a transition and would like to log when transition starts and finished. Finish is easy with the .withCallback function. But how do I log the start?
...
0
votes
0
answers
49
views
Error: Task :react-native-reanimated:compileDebugJavaWithJavac FAILED when running npx expo run android after prebuild
I'm encountering an issue while setting up a React Native project with Expo and rnmapbox. After running expo prebuild --clean and npx expo run android, I get the following error during the build ...
2
votes
1
answer
337
views
Error during build: TypeError: Cannot read properties of undefined (reading 'map') when running ./gradlew assembleDebug
I am new to react-native I am trying to generate an apk for testing using the command ./gradlew assembleDebug
but I get an error knowing ./gradlew clean executes successfully!
./gradlew assembleDebug
...
0
votes
1
answer
255
views
Modal getting squished on Mobile (Top Left) in React Native
The modal is stuck at the top left of my mobile device, but not on a website. It could be Carousel contributing to the issue, as modal works on other pages. Moreover, the modal appears in the center ...
0
votes
0
answers
34
views
pressables inputs and all touchable elements not working after animating transform properties of parent view in sdk52
i have custome modals, popups ...ui-elements , after updating my expo project to sdk52 the touch event are not firing and not behaving as expected in animated views , this is my modal code i cant get ...
0
votes
1
answer
223
views
Animating linear gradient react native reanimated and skia
Can someone point out to me why my animation is not running? I am trying to animate between two colors in a gradient.
I tried to start the transition from a button click as well but nothing happens.
I ...
0
votes
1
answer
195
views
Gradle compiler is still targeting an older Java version despite having jdk17 installed and configured
I am on react-native 0.72.5. Openjdk version "17.0.13" on Ubuntu.
It was all working fine until I took an apk build. Ever since that the project fails to run on my device/emulator. It shows ...
0
votes
0
answers
113
views
react-native-reanimated component is working in react-native 0.74 but in react-native 0.76
This is BottomTabNavigator.js file:
const BottomTab = createBottomTabNavigator();
const { height } = Dimensions.get('window');
const SNAP_TOP = height + StatusBar.currentHeight;
const SNAP_BOTTOM = 54 ...
0
votes
0
answers
69
views
Facing this error while trying to create the QA build on android ->ninja: error: manifest 'build.ninja' still dirty after 100 tries
Task :react-native-reanimated:buildCMakeRelWithDebInfo[armeabi-v7a] FAILED
C/C++: ninja: error: manifest 'build.ninja' still dirty after 100 tries
FAILURE: Build failed with an exception.
What went ...
2
votes
2
answers
2k
views
react-native-reanimated-carousel shared value error
[Reanimated] Reading from value during component render. Please ensure that you do not access the value property or use get method of a shared value while React is rendering a component.
This is ...
0
votes
1
answer
440
views
React Native Reanimated Rotate an Animated.View on a negative y-axis value
I haven't been able to find any instructions on how to do this.
So, currently, I can "flip" an Animated.View using Gesture Handler. It works just like I want except that I want the bottom of ...
2
votes
1
answer
2k
views
Issues with runOnJS in Frame Processor using React Native Reanimated and Worklets Core
'm building a React Native app using Vision Camera with a custom frame processor. My app involves detecting skin and spots in frames, and I need to run some logic on the JavaScript side using runOnJS.
...
1
vote
1
answer
2k
views
Warning: Reading from `value` during component render
This is the usage example for react-native-reanimated-carousel. It shows the warning:
[Reanimated] Reading from value during component render. Please ensure that you do not access the value property ...