rive-app / rive-app/rive-react-native

OOB Asset url asset loading race condition

Open
#351 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

triage
Dominant language
TypeScript
Stars
783
Forks
81
Avg merge
3d 6h
Merged PRs (30d)
3

Description

When OOB assets are loaded over URL, the animation does not wait until the image is downloaded and there is currently now way to know if Rive as completed loading the asset. This means that the image is not visible in the animation and then just pops in when it loads.

Rive should either wait until the image is downloaded in order to initialized and run the animation, or at least give us a loading status so it can be managed in code.

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.

Research direction

Start by tracing how OOB assets loaded from a URL are initialized and how the animation begins running. Determine whether completion can be observed or initialization can wait for the image download; done means the image is present when the animation starts or a documented loading status is available to manage it in code.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.