SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Log error when unsupported type is passed to interpolation outputRange (#55209)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55209

## Changelog:

[Android] [Changed] - Log error when unsupported type is passed to interpolation outputRange

Add error logging when unsupported value types (like PlatformColor) are passed to interpolation outputRange. This prevents a ClassCastException crash by detecting non-Number types and logging an error instead.

Reviewed By: javache

Differential Revision: D90863942

fbshipit-source-id: d6a3b2dbde859ae86a1bc4a5dfcc33a9ee369dd1
Z
Zeya Peng committed
30fd0c4ac82edb8716c8b05239ae55909bc83b12
Parent: 95bac85
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 1/16/2026, 5:26:28 PM