rive-app / rive-app/rive-flutter
rive_native 0.1.9 fails to compile on Flutter 3.29.3
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 1.5k
- Forks
- 240
- PR merge metrics
- No merged PRs in 30d
Description
Submission checklist
- I have confirmed the issue is present in the latest version of the
riveFlutter package - I have searched the documentation and forums and could not find an answer
- I have searched existing issues and this is not a duplicate
Description
SemanticsConfiguration.isRequired and SemanticsRole undefined despite flutter: ">=3.28.0" declared minimum
rive_native 0.1.9 (shipped as a transitive dependency of rive 0.14.9) fails to compile on Flutter 3.29.3
across all platforms (iOS, Android, web). The package declares flutter: ">=3.28.0" in its pubspec but uses
Flutter semantics APIs that do not exist in Flutter 3.29.3:
- SemanticsConfiguration.isRequired (setter)
- SemanticsRole (class — with values .tab, .listItem, .list, .tabBar, .dialog, .alertDialog, .radioGroup)
Both are referenced in rive_native/lib/src/semantics/rive_semantics_overlay.dart.
Reproduction steps / code
- Install Flutter 3.29.3
- Create a Flutter project and add rive: ^0.14.9 to pubspec.yaml
- Run flutter pub get
- Run flutter run on any target (iOS device, simulator, or web)
- Compilation fails
Upload your reproduction files / stack trace
No response
Source .riv / .rev file
No response
Screenshots / video
No response
Rive Flutter package version
0.14.9 (rive_native 0.1.9)
Flutter version
Flutter 3.29.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ea121f8859 (1 year, 2 months ago) • 2025-04-11 19:10:07
+0000
Engine • revision cf56914b32
Tools • Dart 3.7.2 • DevTools 2.42.3
Device
iMac 2017, Intel, macOS Ventura 13.6.7
OS version
macOS 13.6.7 (22G720)
Additional context
macOS Ventura (13.x) cannot run Flutter 3.44+ which requires macOS 14+.
This means any developer on an older Mac who upgrades to rive 0.14.9 is blocked from building their app. Downgrading to rive 0.13.x restores compilation but requires rewriting all ViewModel binding code since the API changed significantly between 0.13 and 0.14.
Contributor guide
No contributing guide indexed for this repository
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 with rive_native/lib/src/semantics/rive_semantics_overlay.dart and the package's pubspec declaration. Reproduce the failure using Flutter 3.29.3 with rive 0.14.9, then trace the SemanticsConfiguration.isRequired and SemanticsRole references. Done means the package compiles on Flutter 3.29.3 across the affected targets without breaking its supported Flutter range.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100