Data binding not working in iOS mobile client vs proper preview in Shared Link
Hello! I’m using Rive iOS SDK 6.11.4 on iPhone 15 with iOS 18.5, and an animation created in Rive editor v0.8.3474 behaves correctly in Rive Shared Link Preview (carousel slide switching + element height calculations with data binding updates as expected), but in the iOS client all functionality relying on data binding does not work - values and mechanics bound to the ViewModel do not update.
Could you help me determine whether this is an issue with the mobile SDK or something misconfigured in my Rive file, etc?
Thanks for the help!🙌
Expected behavior
I expect the Rive file on the mobile client to work the same way as it does in Rive's shared link preview, so that the values from the ViewModel control the behavior of interactive elements they're attached to and are updated in real time.
This is how it works in Rive Preview. Data bind mechanics and transitions works properly
Rive's shared link preview:
In Rive's shared link preview, carousel navigation relies on binded values from the ViewModel, which provide information on element positions, the current slide, and the total number of slides. The size of the elements is also linked to values from other components, ensuring that the text fits properly and that there is enough spacing. Data Bind makes this carousel into a template that is easy to use.
Actual behavior
Mobile client:
On mobile clients, the data bind values do not update, rendering the size of the elements incorrectly. Transition conditions that use data from the ViewModel are ignored, thus the carousel navigation is not working.
Device & Versions
Device: iPhone 15
iOS version 18.5
Rive editor v0.8.3474.
Rive iOS SDK 6.11.4