✅ Solved: Data binding and web view
Hello there!
I have a complex problem with data binding, insofar that I don’t have all the data to know where something is going wrong.
In a nutshell, I create Rives and pass them to other people responsible to put them online (on a website). Recently, I realized that my newer Rives were all dysfunctional as far as data binding was concerned. Everything else works as expected. I saw somewhere in the forum that it could be an “export instance” problem, tried that, didn’t work either. To determine if we were at fault, I tried testing my Rives on an “external tool”, found https://www.rive.rip, and… the test didn’t pass either.
[edit2: eventually found https://ivg-design.github.io/rive_dev_playground/rive-playground/ which seems up to date, and it works!]
Do you know if rive.rip is up to date and reliable?
[edit: rive.rip does not seem to be up to date as the last commit on its GitHub repo was 10 months ago, before the data binding update.]
Otherwise, do you know a way to test Rive in web output with minimal effort?
[edit 2: https://ivg-design.github.io/rive_dev_playground/rive-playground/ seems to answer that question]
New question: it seems that we use @rive-app/canvas on our website, and the online previewer aforementioned seems to use @rive-app/webgl2 according to their docs. Could it be that canvas has problems with data binding and webgl2 does not?
Tested Rive attached.
It works fine on Rive editor 0.8.3105 and 0.8.3210, also fine with an external link export on Safari and Chrome.
Purpose of the Rive : click anywhere and the text/color change. To test if the animation works without data binding, I added an input “animation test” that can be manually triggered to check that something can actually happen.