rive-app / rive-app/rive-react-native
Preloading local rive assets
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 783
- Forks
- 81
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 3
Description
Hi there!
Has anyone implemented local rive assets preloading? I'm facing an issue where the rive asset is not loaded and cached until it has been ran one time, which causes a minor glitch (see video).
Essentially I just want to preload/cache the rive assets when the app starts - or for more granularity when the user visits a specific route.
I'm using Expo with the expo-custom-assets plugin to load the rive assets.
Sorry if this has already been asked/answered, I couldn't find anything when looking through the issues.
https://github.com/user-attachments/assets/345ffce6-fe91-4fda-ac36-47d4eb3095ab
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
No files, tests, or entry points are identified in the issue. Start by locating the React Native asset-loading path and the Expo custom-assets integration, then determine how assets could be cached before first use or on route entry; done means the initial render no longer shows the reported loading glitch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100