rive-app / rive-app/rive-react-native
OOB Asset url asset loading race condition
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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