Rive-react-native 9.0+ package gives black box instead of actual animation

Open
#315 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
react-native
Domain
mobile

Research direction

Start with the reported Expo v52 reproduction using rive-react-native 9.0 or later and compare it with the known-working 8.4.0 version on Android. Check Android Studio logcat while triggering the animation and confirm that the animation renders on Android as it already does on iOS.

Written by the indexing model from the issue text.

Description

Description

The latest Rive package gives a black View on Android

Provide a Repro
  • An expo v52 project with rive configured and new-arch disabled
  • Trigger rive animation
  • It will work perfectly fine on iOS but on android, it just shows as black box
  • Connected with Android Studio to check logcat and there were no logs related to rive package or anything related to it
  • After spending some time, I hardcoded rive-react-native package version to 8.4.0 and it started working normally on both android and iOS
Expected behavior

It should work fine on android and iOS

Device & Versions (please complete the following information)
  • Device: Android Emulator, Oppo find X8 Pro, nothing 3a
  • OS: android OS 15
  • NPM Version: 10.8.2
Dominant language
TypeScript
Stars
783
Forks
81
Avg merge
3d 6h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rive-app/rive-react-native

All issues in rive-app/rive-react-native

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.