Skip to content
New issue

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

7.3.0 instant launch crash React Native 0.74.5 #262

Open
hamdij0maa opened this issue Aug 26, 2024 · 6 comments
Open

7.3.0 instant launch crash React Native 0.74.5 #262

hamdij0maa opened this issue Aug 26, 2024 · 6 comments

Comments

@hamdij0maa
Copy link

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

@HayesGordon
Copy link
Contributor

Hi @hamdij0maa can you share

  • the .riv file you're using
  • the code
  • the crash log

@mlazari
Copy link

mlazari commented Sep 2, 2024

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
Copy link

bitcrumb commented Sep 3, 2024

Same issue as @mlazari

@mlazari
Copy link

mlazari commented Sep 3, 2024

I guess my issue is the same as #261

@bernardo-amaral-movile
Copy link

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

@lancesnider
Copy link
Contributor

Hey all. 👋 I've just started working on updating the repo to support the latest couple of versions of RN. Step one is getting all of our packages upgraded to more recent versions while still using RN 0.72.x. This'll make it easier to do the next couple of upgrades. If anyone wants to give it a test on a 0.72.x project, that'd be super helpful: #267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants
@bitcrumb @lancesnider @mlazari @HayesGordon @bernardo-amaral-movile @hamdij0maa and others