rive-app / rive-react-native

MIT License
512 stars 35 forks source link

7.3.0 instant launch crash React Native 0.74.5 #262

Open hamdij0maa opened 3 weeks ago

hamdij0maa commented 3 weeks ago

Install rive-react-native 7.3.0 instant crash android on launch.

HayesGordon commented 3 weeks ago

Hi @hamdij0maa can you share

mlazari commented 2 weeks ago

I see the same issue (crash on app start) but only on iOS in an expo project.

    "expo": "~51.0.31",
    "react-native": "0.74.5",
    "rive-react-native": "^7.3.0",

It crashes even if I remove all usages of rive-react-native in the code so I don't think it's related to a specific animation file or code. Screenshot 2024-09-02 at 15 37 05

Downgrading to 7.2.0 fixes the crash.

I tried the same version 7.3.0 of rive-react-native in a bare React Native project with the same react-native version (0.74.5) and it works well there.

bitcrumb commented 1 week ago

Same issue as @mlazari

mlazari commented 1 week ago

I guess my issue is the same as https://github.com/rive-app/rive-react-native/issues/261

bernardo-amaral-movile commented 1 week ago

I'm having the same issue here after upgrading to React Native 0.74.5. However, my Rive version is 6.2.3. Crash Free users on the version with React Native 0.74.5 dropped to 64% (from 98%+).

I can see a SIGABRT crash on libc.so and the logs also show librive-android.so on the stack trace. We need this fixed ASAP. Could you please help us? Is there a Rive version that has been tested with React Native 0.74.5?

image