rive-app / rive-react-native

MIT License
554 stars 44 forks source link

Instant ios crash , version 8.0.0 #272

Open hamdij0maa opened 1 month ago

hamdij0maa commented 1 month ago

<-- Thanks for using Rive!

If something isn't working like you expected, please:

If you think you found a bug or if you can't find what you're looking for in our docs, fill out the template below.

-->

Description

<-- A clear and concise description of what the problem is. -->

Provide a Repro

<-- Please provide the most minimal repro you can:

-->

Source .riv/.rev file

<-- Attaching runtime-exported .riv file that reproduces the issue is immensely helpful for our team to identify the problem as fast as possible and fix it. Please also include the source (.rev) by downloading a backup from the Editor.

N.B. Because GitHub only supports certain file types use a ZIP archive to upload .riv/.rev files to this issue.

You can also privately share the .riv/.rev file with us at hello@rive.app. -->

Expected behavior

<-- A clear and concise description of what you expected to happen. -->

Screenshots

<-- If applicable, add screenshots to help explain your problem. -->

Screenshot

Device & Versions (please complete the following information)

Additional context

<-- Add any other context about the problem here. -->

Maniae commented 4 weeks ago

Seems related to https://github.com/rive-app/rive-react-native/issues/261 and https://github.com/rive-app/rive-ios/issues/345

We previously had to downgrade from 7.3.0 to 7.2.0, I was hoping the version 8.0.0 wouldfix the issue but it does not. It's unfortunate since we were expecting this version to fix issues we have about some animations not rendering on ios :(

guval-gh commented 3 weeks ago

Same here. Instant crash on iOS simu at launch.

Environment:

{
   "expo": "~52.0.0-preview.19",
   "react-native": "0.76.1",
   "rive-react-native": "^8.0.0"
}

If component use url property, it's ok:

<Rive
  url="https://public.rive.app/community/runtime-files/2195-4346-avatar-pack-use-case.riv"
  autoplay
  style={{ width: 250, height: 250 }}
/>

But the equivalent with resourceName property = instant crash:

<Rive
  resourceName="truck_v7"
  autoplay
  style={{ width: 250, height: 250 }}
/>