Fixing React Native Animated API Animations That Jank and Drop Frames on Android
An animation built with React Native's Animated API looks smooth on iOS but visibly stutters and skips frames on Android, especially the moment any JavaScript work — a network response, a state update, a list re-render — happens at the same time. The animation is being driven by the JS thread instead of the native UI thread, and the single setting that fixes this is easy to forget on exactly the animated properties where it matters most.
The Problem
An animation built with React Native's Animated API — a fade-in, a translating card, a growing progress bar — runs smoothly during isolated testing, but in the actual app, it visibly stutters, skips frames, or briefly freezes partway through, especially right when something else happens concurrently: a network response arrives, a list updates, or any other JavaScript work runs. The same animation often looks noticeably smoother on iOS than on Android, which is itself a strong clue about where the actual problem lives.
Why It Happens
By default, Animated updates run on the JavaScript thread, which competes directly with everything else JS is doing at that moment
Without explicit configuration, an Animated.timing or Animated.spring animation calculates each frame's values on the JavaScript thread and sends the result to the native side every frame. If the JS thread is simultaneously busy with anything else — a network callback, a Redux state update, a list re-render — the animation's own frame calculations get delayed along with everything else competing for that same thread, producing exactly the stutter that shows up as soon as real app activity happens alongside the animation.
useNativeDriver offloads the entire animation to the native side, but it isn't the default and doesn't apply to every property
Setting useNativeDriver: true sends the animation's configuration to the native UI thread once at the start, after which the native side drives every frame independently of whatever the JS thread is doing — this is what actually solves the problem, but it isn't enabled by default (omitting it silently defaults to false, with no warning that the animation is running on the slower path), and it only supports animating a specific, non-exhaustive set of properties, mainly transform and opacity.
Android's rendering pipeline is generally less forgiving of JS-thread-driven animation jank than iOS's, which is why the same code often looks fine on one platform and stutters on the other
Differences in how the two platforms' native rendering pipelines handle a slightly-delayed or dropped animation frame mean the exact same JS-thread-driven animation that looks acceptably smooth on iOS can look distinctly janky on Android — this platform asymmetry is a frequent reason the issue first gets reported as "Android feels less smooth" rather than being immediately identified as a native-driver configuration gap.
The Fix
1. Add useNativeDriver: true to every Animated.timing/spring/decay call animating a supported property
Animated.timing(fadeAnim, {
toValue: 1,
duration: 300,
useNativeDriver: true, // <- easy to omit, and silently defaults to false
}).start();
This single option is the actual fix for the vast majority of JS-thread jank cases — it has to be set explicitly on every individual animation call, not once globally, so a codebase with many scattered Animated.timing calls needs each one checked rather than assuming one fix covers them all.
2. For properties the native driver doesn't support (layout properties like width, height, or flex-based values), restructure the animation around transform/opacity instead of animating the unsupported property directly
// Instead of animating `width` directly (not natively-driver-supported):
// combined with a fixed-width inner element, achieves a visually
// equivalent "growing" effect while staying fully native-driven.
Because the native driver's supported property set is deliberately limited to what can be handled entirely on the native side without round-tripping through JS, an animation that needs a genuinely unsupported property (like animating height for an expand/collapse) often has a transform-based equivalent that achieves the same visual result while remaining eligible for useNativeDriver: true.
3. For an animation that must drive a non-native-driver-supported property, keep the JS-thread work on it as minimal as possible rather than expecting it to be jank-free
// If animating a genuinely unsupported property is unavoidable,
// reduce competing JS thread work during that animation specifically —
// defer non-critical state updates, heavy re-renders, or data fetching
// until after the animation's onAnimationEnd fires.
When a property genuinely can't go through the native driver, the realistic fix isn't eliminating jank entirely — it's minimizing how much other JS-thread work actively competes with it while it runs, since the animation is fundamentally sharing a thread that everything else in the app also depends on.
4. Use the Flipper or React DevTools performance profiler to confirm which thread an animation is actually running on, rather than guessing from how it looks
Check the JS thread's frame timeline during the animation —
consistent, isolated drop frames on the JS thread specifically
(rather than the UI thread) confirm a native-driver gap as the cause.
Visually judging "janky" versus "smooth" doesn't distinguish a native-driver configuration gap from an unrelated performance problem elsewhere in the render tree; a profiler showing the JS thread specifically dropping frames during the animation's exact duration directly confirms the native-driver explanation rather than leaving it as a guess.
Why This Works
JS-thread animation jank is never really a sign the animation logic itself is wrong — it's the direct, expected consequence of an animation competing for the same thread as everything else the app's JavaScript does, which useNativeDriver solves by moving the animation off that thread entirely rather than trying to make the JS thread less busy. Setting it explicitly on every supported call, restructuring unsupported properties around transform where possible, minimizing competing work for the remaining unsupported cases, and confirming the actual thread with a profiler together close the specific, well-understood gap this symptom actually comes from.
Conclusion
An Animated API animation that janks on Android while looking fine on iOS is very often running on the JS thread instead of the native UI thread, not a sign of a deeper performance issue. Explicitly setting useNativeDriver: true on every eligible animation, restructuring unsupported properties around transform and opacity, minimizing JS-thread competition for the cases that genuinely can't go native, and verifying with a profiler turns an inconsistent, platform-dependent stutter into animation that's actually smooth regardless of what else the app is doing at the same time.
