Skip to main content
w
2d ago

Rive animation not appearing for engineer

I'm working on an interactive element with a statemachine that uses imported lottie animations. The engineer I'm working with is having trouble getting it to appear on their end. They're using React Native and they were able to test an example .riv file that wasn't mine and it did show up. I can see the animation in the app and and when I view it through the share link. Is someone able to help me with troubleshooting this issue?

3 replies
w
1d ago

Yeah, I can help with that. Here's what I'd check first:

  • If this is an iOS app, the .riv is in the ios/Assets folder.

  • If this is an iOS app, in xCode the .riv is referenced in the "Copy Bundle Resources" inside "Build Phases"

  • You have the correct Artboard and State Machine name.

If these don't solve your issue, can you please post a code snippet and I'll take a closer look?

w
16h ago

This worked, thank you so much for your help!

11h ago

Great! The Copy Bundle Resources one has gotten me more than once. :) If it's not there already, I'll add something to the documentation.