rive-app / rive-app/rive-react-native

BlendState is coming in as UnknownState on iOS

Open
#207 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
783
Forks
81
Avg merge
3d 6h
Merged PRs (30d)
3

Description

react : 18.2.0
react-native : 0.72.4
rive-react-native : 6.1.1

image

My Rive layers are set up as described above.
On Android, when I look at the stateName with console.log in onStateChanged, I see BlendState comes in fine,
but on iOS, BlendState is coming in as UnknownState. Is this a known issue?
All my Rive files that contain state are coming in with BlendState as UnknownState

image

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are identified in the issue. Reproduce the stateName difference using React 18.2.0, React Native 0.72.4, and rive-react-native 6.1.1 on Android and iOS, then trace the onStateChanged handling. Done means BlendState is reported consistently on iOS and Android for the affected Rive files.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.