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

No way to set Image defined on VIewModel through DataBinding ?

Open
#363 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

DataBinding supports Number, String, Boolean, Color, Trigger, Enum, Image, List, Nesting, etc.

Image

But rive-react-native (9.5.0) only exports the following utility hooks to set DataBindings:

  • useRiveBoolean
  • useRiveString
  • useRiveNumber
  • useRiveEnum
  • useRiveColor
  • useRiveTrigger

Nothing for other types like Image

Do you confirm it's not possible today with rive-react-native to handle dynamic Images on ViewModels while it's supported by the Editor?

Is it planned?

Thanks in advance

Expected behavior

Have a way to control Images on ViewModels dynamically

Device & Versions (please complete the following information)
  • Device: Any
  • OS: Any

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

Start by reviewing the exported data-binding hooks in rive-react-native 9.5.0 and compare them with the Image and other supported DataBinding types described in the issue. Done means a documented, usable way to control Images dynamically on ViewModels, with the relevant behavior verified in the project’s existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.