rive-react-native icon indicating copy to clipboard operation
rive-react-native copied to clipboard

No way to set Image defined on VIewModel through DataBinding ?

Open rlods opened this issue 4 months ago • 1 comments

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

rlods avatar Sep 08 '25 14:09 rlods

Do you confirm it's not possible today with rive-react-native to handle dynamic Images?

I finally found that statement which seems to confirm it's not supported at the moment

Image

rlods avatar Sep 08 '25 14:09 rlods