trying to swat most of these https://github.com/rive-app/rive/security/dependabot?page=13&q=is%3Aopen+sort%3Amanifest-path+ecosystem%3Anpm there are a few sets of issues here `release-it` - i just updated these, we should be aware that on next release of android/ios/etc we may have an issue here, i did a dry run on rive_flutter which was fine mind you. `_framework/examples` - i ran all of them successfully, *except for* the `vue` example which complains that we dont have `rive.lean.dev` in our dist. I actually suspect that this example stopped working but was hoping to confirm this @HayesGordon `wasm/examples` - ran all of these successfully *except for* the `centaur_game` example. the scaling seems off, and the centaur is not in the frame properly, also the apples are being placed oddly & rendered "twice" once with a static apple and once with an animated one... I did a little playing around here, (changing a state machine to advanceAndApply etc) but once again was hoping to find out if this was actually working properly before. (will go and check out main and rebuild everything in a second to double check the state of this, but I couldnt even build this before updating packages... ) `runtime_wasm/js` hm this one is all just made up of dev bits, do we need to do more to test this than try the examples? Diffs= 5893a12377 Security warnings (#8825) 6f306199ca add histogram arg to check golds to pass thru to diff.py (#8822) 9d07b638c2 move advanced call after update (#8807) 11afb83c7f Reset scroll constraint when state machine not running (#8817) cff1067393 Merge path_utils.hpp and eval_cubic.hpp into the core runtime (#8794) 1be9b574d1 Ensure child layouts mark dirty when flex direction changes (#8792) 4f4e07a68b Fix straight lines being detected as cusps (#8790) 11d4e46498 Add FillRule::clockwise to the runtime (#8786) 49e1109e3f add bind once support (#8761) d4a46062fb do not use frameOrigin to validate if artboard has its origin translated (#8788) 4b7454518f editor: minor text fixes (#8787) de2a5cbf93 Replace Swiftshader with Nvidia gpu runner (#8644) 14dcaa0cde improve error reporting if exe in deploy script does not exist (#8618) 2a6cf9d0a6 Set supportsRasterOrdering in the webgpu backend (#8774) f19a9c9399 editor: allow hit testing over text and text runs (#8719) e37a0f285f rename property to avoid conflict with code generation (#8765) d30f3e3ca6 do not exclude proxies from drawables list (#8762) b9773680e3 Scripting begins! (#8751) 7cc6f5bbe3 GL MSAA tweaks (#8753) 3c322193bf More android tuning for PowerVR (#8747) 32636f7dde Work around gradient sync issues on Oppo Reno 3 Pro (#8745) 7d39d0fca7 fix artboard origin offset (#8737) 908fe3b784 Convert unity builds to use build_rive.sh (#8742) d3123ff351 Tag custom premake builds on v5.0.0-beta3 (#8741) 0cdfd3bf32 Fix layout display issues (#8733) 6f70a0e803 Add visionOS and tvOS support to Apple runtime (#8107) f69757c8dd fix triggers reset (#8732) ab29c640cc Prevent negative layout size (#8731) f9355c5d84 add data binding blend states support (#7731) 1a8c162151 Nnnn instance data converters part 3 (#8726) f3d66c238a Nnnn fix js runtime listeners check (#8727) 567dd549f1 added missing_goldens and missing_candidates to diff.py result (#8722) c7c1701511 Nnnn system data enums part 3 (#8635) ce070a26e9 diff.py updates (#8721) aaaf1a206e Allow $JAVA_HOME without java installed in deploy_tests.py (#8699) Co-authored-by: Maxwell Talbot <talbot.maxwell@gmail.com>
Rive Flutter
Rive Flutter is a runtime library for Rive, a real-time interactive design and animation tool.
This library allows you to fully control Rive files with a high-level API for simple interactions and animations, as well as a low-level API for creating custom render loops for multiple artboards, animations, and state machines in a single canvas.
Table of contents
Overview of Rive
Rive is a powerful tool that helps teams create and run interactive animations for apps, games, and websites. Designers and developers can use the collaborative editor to create motion graphics that respond to different states and user inputs, and then use the lightweight open-source runtime libraries, like Rive Flutter, to load their animations into their projects.
For more information, check out the following resources:
🏡 Homepage
Getting started
To get started with Rive Flutter, check out the following resources:
For more information, see the Runtime sections of the Rive help documentation:
More advanced usage:
Choosing a Renderer
For more information see: https://rive.app/community/doc/overview/docD20dU9Rod
Note on the Impeller renderer
Starting in Flutter v3.10, Impeller has replaced Skia to become the default renderer for apps on the iOS platform and may continue to be the default on future platforms over time. As such, there is a possibility of rendering and performance discrepancies when using the Rive Flutter runtime with platforms that use the Impeller renderer that may not have surfaced before. If you encounter any visual or performance errors at runtime compared to expected behavior in the Rive editor, we recommend trying the following steps to triage:
- Try running the Flutter app with the
--no-enable-impeller
flag to use the Skia renderer. If the visual discrepancy does not show when using Skia, it may be a rendering bug on Impeller. However, before raising a bug with the Flutter team, try the second point below👇
flutter run --no-enable-impeller
- Try running the Flutter app on the latest master channel. It is possible that visual bugs may be resolved on the latest Flutter commits, but not yet released in the beta or stable channel.
- If you are still seeing visual discrepancies with just the Impeller renderer on the latest master branch, we recommend raising a detailed issue to the Flutter Github repo with a reproducible example, and other relevant details that can help the team debug any possible issues that may be present.
Supported platforms
Be sure to read the platform specific considerations for the Rive Flutter package.
Awesome Rive
For even more examples and resources on using Rive at runtime or in other tools, checkout the awesome-rive repo.
Contributing
We love contributions and all are welcome! 💙
Issues
Have an issue with using the runtime, or want to suggest a feature/API to help make your development life better? Log an issue in our issues tab! You can also browse older issues and discussion threads there to see solutions that may have worked for common problems.