We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"expo": "~51.0.28" "react-native": "0.74.5" "rive-react-native": "8.1.0"
-->
When trying to set a text run value the app on iOS crashes. Android works just fine.
interface IBadge { value?: string; } export const Badge = ({ value }: IBadge) => { const riveRef = React.useRef<RiveRef>(null); useEffect(() => { riveRef.current?.setTextRunValue("amount", value ?? " "); }, [value]); return ( <Rive artboardName="badge" stateMachineName="main" ref={riveRef} autoplay url={`https://public.rive.app/community/runtime-files/13780-27374-toptop-badge.riv`} /> ); };
.riv
.rev
toptop_-_badge.riv.zip
Rive component should update text run value without crashing an app.
I made sure my text run value has a custom name "amount" and it's exported
The text was updated successfully, but these errors were encountered:
No branches or pull requests
"expo": "~51.0.28"
"react-native": "0.74.5"
"rive-react-native": "8.1.0"
-->
Description
When trying to set a text run value the app on iOS crashes. Android works just fine.
Provide a Repro
Source
.riv
/.rev
filetoptop_-_badge.riv.zip
Expected behavior
Rive component should update text run value without crashing an app.
Screenshots
Device & Versions (please complete the following information)
Additional context
I made sure my text run value has a custom name "amount" and it's exported
The text was updated successfully, but these errors were encountered: