Description
When running on iOS setting both a boolean property that is in a view model, and referenced assets, the app will crash when both of those types of properties are set via Button click. However if you only set one, there is no crash. This code does work however in React Native on Android.
It looks like the crash is an EXEC_BAD_ACCESS on the following line https://github.com/rive-app/rive-react-native/blob/main/ios/RiveReactNativeView.swift#L678
Provide a Repro
https://github.com/breakawaydata/rive-react-native-boolean-crash
Source .riv/.rev file
rive.zip
Expected behavior
I'd expect the app to not crash and set the properties
Device & Versions
- Device: iOS Simulator
- OS: iOS 18.4
- NPM Version: 10.2.4