Skip to content

Releases: rive-app/rive-android

10.4.2

22 Aug 14:09

Choose a tag to compare

Fixes

  • Includes a fix for a rare Concurrent Modification Exception crash when both iterating and modifying view model instance properties
  • Upgrades the project Android Gradle Plugin version
  • Enables tentative Address Sanitizer support
  • Includes renderer fixes

  • Artboard List items follow path (#10417) 68a608cfad cdcfaae
  • Add background draw shader loading to GL, D3D11, and D3D12 (#10388) c681049169 f84ffb8
  • Add shaders to SLN for renderer (#10435) 5188bbb7b1 8b98cc7
  • feature: add support for list based paths (#10409) fb374dcad4 0016738
  • fix: skip pad conversion if text is empty (#10418) b00368b1c4 05c1f87
  • Runtime profiler base (#10391) 4171e09f80 702c43a
  • feature: hydrogen search improvements (#10412) f6d5d55b26 5e161a2
  • feat(gl): Start using the EXT_shader_pixel_local_storage2 API (#10410) b16a5e5d70 e76450f
  • Respect hug with all nested artboard and artboard list types (#10403) 7f3ed82d57 41a4954
  • Add support for non-layout constrained Artboard Lists (#10384) 520e01a0f2 db39ce4
  • fix: use word joiner instead of line separator for breaks (#10381) cd13ab364d 3450fa8
  • fix: trigger adds dirt to listeners only when it is not reset (#10377) 760472b069 0a8fb3a
  • Nnnnn add datatypes to viewmodel instances (#10357) 3b0e14f50f e3c8221
  • feat(RiveRenderer): Gamma Space Conversion (#10361) a61202f1c4 bc7bbc5

10.4.1

12 Aug 17:04

Choose a tag to compare

Fixes

This release refactors how the JNIRenderer object in the Legacy API is cleaned up, solving an existing issue with potential ANRs.

It also solves an issue specific to Mali T720 devices.


  • fix: dispose the renderer without blocking the UI thread (#10331) 2882eeb56a f5e10d3
  • feature: add support for custom enum properties (#10345) 21b8ce84f4 c121d7a
  • fix: Work around a bug in the Mali T720 compiler (#10340) 59aa55b5d0 727cc5f
  • fix: treat artboard as layout for hit testing inheritance (#10341) 583274d7b9 6d0e638
  • feature: add support for custom enum properties (#10345) 21b8ce84f4 c121d7a

10.4.0

07 Aug 14:30

Choose a tag to compare

Features

This release adds image, list, and artboard data binding support, matching the available options in the Rive editor.


  • feat(Android): Image, list, and artboard data binding (#10052) 4ab2878965 2fb4fc5

10.3.3

06 Aug 20:51

Choose a tag to compare

#Fixes

This release primarily fixes an issue with nested events firing when they shouldn't.


  • fix nested events conflicting with parent events (#10326) 51f1f66e31 b41d995
  • add support for view model trigger based listeners (#10323) e7ef71b568 7acee2b
  • add advanced phase to render loop (#10318) af18705be2 ebf5118
  • support setting bindable artboard from data bind (#10317) 559f237078 250aae8

10.3.2

04 Aug 12:18

Choose a tag to compare

Fixes

  • setRendererType was sometimes marked as a missing function in API <= 25. This has been improved so that it can be resolved.
  • Add the new Compose files to ProGuard keep rules.

  • fix: function visibility modifier for API <= 25 1aa92f81ca c87c060
  • add support to clear data bound artboard by setting the value to null (#10254) a5a679a966 649512d
  • fix: Include new packages in ProGuard (#10256) 001f9eb491 4beb877

10.3.1

28 Jul 11:59

Choose a tag to compare

Fixes

Solves a lifetime race condition with file asset loaders. This would sometimes manifest as a SEGV when tearing down the Rive view. As the C++ runtime exposes them as RefCnt, we now correctly associate their lifetimes with Kotlin and dereference rather than delete the object.

⚠️ Also correctly includes RiveUI and other Compose related classes initially scheduled for 10.3.0. Please use this version and above instead. The files were not included due to the release being cut before downstreaming had completed.


  • chore: refactor scripting api (#10218) 85aa06d5db b1fc7bd
  • fix: lifecycle memory management (#10237) 6a23aeed19 bf69c63 (contains the Compose work after a downstream correction)
  • feat: add support for artboard style overrides in lists (#10212) ca58369fb6 2d50ec9

10.3.0

21 Jul 15:35

Choose a tag to compare

Features

This release brings the technical preview for first-class Jetpack Compose support. It is meant for evaluation, with a number of missing features still to come. It may also have bugs. Please report them as usual. For more information, see our post in the Rive Community.


  • fix: restore publishing moving from OSSRH to Maven Central Portal (#10120) d64a5e9647 ea29bbb
  • feat(CommandQueue): Several small additions (#10215) c508ec1d15 75d5395
  • feature: add support for using event objects as targets for listeners (#10204) ac9841b38d 1ac424e
  • chore: add extra info when state machine exceeds max iterations (#10201) 34883935ac bf24e68
  • refactor(CommandQueue): Added more enum data (#10191) 1c9db764ea 1856a89
  • fix:add missing break (#10192) 7b42c61c86 ffeb363
  • fix: recursively check whether an artboard is its ancestor before usi… (#10184) 53fb2577bc 11a1796
  • fix: only shape text with modifiers if the shapes are not empty (#10147) 95bf14f49b 0431d70
  • fix: include missing header for randomization (#10126) 099266fec8 eee70e3
  • fix: change keys to rcp to avoid memory issues (#10146) 11042e5b4c 2eb7447
  • List virtualization fixes (#10143) bf3b33a30a 8ece3a0
  • Nnnn data biinding artboard fixes (#10139) e54d2ba962 5efef9e
  • List Virtualization & Scroll Carousel (#9965) d973e8c253 ee8e145
  • fix: release nested artboard animation resources when clearing (#10116) e3a68dff11 7472951
  • feature: add image based conditions (#10108) 247b3b00e8 bba4a9d
  • reafactor(CommandQueue): added dependency map between files->artboards->statemachines (#10106) 1d45c6418d 3f0d3ee
  • feat(CommandQueue): Several needed features (#10097) cf63e43d70 5029440
  • runtime: get rid of the HitTextRun destructor (#10092) fc5abebaec 1ae4181
  • fix: get text fallback to use clustered unicode points too (#10078) 4d5037b42d 777fb85

10.2.1

01 Jul 12:46

Choose a tag to compare

Fixes

Includes two fixes to the Rive Renderer for specific Android devices.


  • fix: use proper byte array for init’ing font (#10059) 8189aa66f7 acf8cd5
  • fix: github releases (#10089) ffc25562ef 4894b71
  • test: Render android/vulkan goldens to the device display (#10074) f6623687a8 674d904
  • chore(ci): Turn on ASAN for some golden tests (#10019) 4a81463748 1e8fc83
  • chore: Simplify testing configs (#10072) b1793e755e 5b1939c
  • Nnnn data bind artboards 4 (#10038) 32f0d6d0a0 7b9835a
  • feat(gl): Use KHR_blend_equation_advanced (#10067) 308480cf12 58c9a4e
  • fix(gl): Make the clip-plane ban on ANGLE drivers more comprehensive (#10066) d3e42c99b7 1df3665
  • test: More comprehensive testing for offscreen gms (#10055) 05d64b548f 53b8125
  • fix: rive_native plugin isolation (#10062) ded9340fad a31f782
  • fix: use reverse iterator (#10057) 4fd30da275 ac93fec
  • docs: Remove Skia from the runtime readme (#10043) 092566581a 138753a
  • featt(CommandQueue): Added internal file asset loader (#10040) d13f8c2bf6 23c73d4

10.1.6

05 Jun 18:54

Choose a tag to compare

Features

Added a flag for whether the touch events should be absorbed by the TextureView. By default they will continue to be absorbed. This can be changed with touchPassThrough in either XML or on the RiveAnimationView.

Fixes

A number of fixes, including notably:

  • The recursive flag is added to ReLinker, so that when the Rive .so file is not in /data/apk/ (e.g. /data/data/), it can still find the C++ standard library .so in /data/apk/. This can happen, e.g. because of APK encryption.
  • Adopts a C++ runtime fix for a crash with text in solos

  • fix(ci): generate bugreport if tombstones are not accessible (#9866) a5e64a204d 121bdcb
  • feat(android): Add touch pass through to views (#9865) 8c45193313 eac0e2b
  • ci: Comment out a flaky android test (#9864) 433b77b0f4 e09314c
  • fix: crash when text is in a solo (#9915) 747c3ea77a 46a7b28
  • fix: check for empty id when exporting data binds (#9912) 7293b15461 2daa665
  • fix crash on unset listener change (#9907) 8edd84d2a3 6845d85

10.1.5

03 Jun 21:15

Choose a tag to compare

Fixes

Fixes clip planes on specific drivers (rendering issue on certain Android devices).

Includes other small fixes.


  • fix: Make bad driver detection more specific for clip planes (#9714) 3ab91e096d ca52182
  • fix(gl): Fix a memory leak in TextureGLImpl (#9663) 9e3db1f98f 10ae237
  • fix: Find a workaround to compiler bug on Pixel 3 (#9729) 5ed9258760 55a921e