-
Notifications
You must be signed in to change notification settings - Fork 43
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
Asset Handler API Compatibility with React Native #236
Comments
Looks like there is a branch by @zplata which does this: https://github.com/rive-app/rive-react-native/tree/bump-ios-android-oob But it seems inactive. It would be great if we could get this soon as well. |
@zplata Any update on this ? 🙂 |
@zplata I hope you are doing well, do you know if you are going to work again on it? |
Looks like the branch by @zplata is only iOS, no android support. Curious if the maintainers would accept a PR? |
I made a bit of progress on the android side, this is a simpler implementation that only supports remote asset urls: Branch Comparison I could probably update the |
I pulled most of the changes from @zplata's branch over for iOS see branch comparison it's working for local rive files and remote asset urls. It's still missing font support and apparently if you load a riv file from a url it doesn't accept the asset loader callback, might need to check rive-ios to see if that's really the case. On android I had to omit the file extension for bundled assets, for iOS we need to include the file extension. Will need to figure out a solution to make the bundled asset api match across platforms |
Handling Assets with the Asset Handler API doesn't seems to be available with react-native.
Could you please provide any insights into whether there is an intended plan or roadmap for supporting the Asset Handler API for react-native in the near future?
Thank you for your work on this!
The text was updated successfully, but these errors were encountered: