Skip to content

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

Closed
zeyap wants to merge 1 commit intofacebook:mainfrom
zeyap:export-D90863942
Closed

Log error when unsupported type is passed to interpolation outputRange#55209
zeyap wants to merge 1 commit intofacebook:mainfrom
zeyap:export-D90863942

Conversation

@zeyap
Copy link
Copy Markdown
Contributor

@zeyap zeyap commented Jan 16, 2026

Summary:

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.

Differential Revision: D90863942

Summary:
## 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.

Differential Revision: D90863942
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 16, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Jan 16, 2026

@zeyap has exported this pull request. If you are a Meta employee, you can view the originating Diff in D90863942.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @zeyap in 30fd0c4

When will my fix make it into a release? | How to file a pick request?

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jan 16, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Jan 16, 2026

This pull request has been merged in 30fd0c4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants