rive_native: 0.1.0 hash verification failure

Open
#589 25 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, dart, flutter

Research direction

Start with rive_native-0.1.0/bin/setup.dart, especially RiveSetup._downloadBinaries around line 492 and RiveSetup.init around line 178. Reproduce the Android build using rive 0.14.0 and inspect the downloaded artifact and hash-verification path. Done means verification succeeds, native libraries are installed, and the app builds and runs.

Written by the indexing model from the issue text.

Description

bug
Description

Android app is failing to build with hash verification failure happening in 0.1.0 rive_native setup.sh.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Add rive 0.14.0 to Flutter app
  2. Build for Android
  3. See build error
Expected behavior

Hash verification works correctly and native libs are installed and app runs.

[rive_native]   Initializing Rive Native for TargetPlatform.android. This may take some time the first time it is run.
[rive_native]   Downloading "android" libraries for version "0.1.0+1"
[rive_native]   URL: https://rive-flutter-artifacts.rive.app/rive_native_versions/0.1.0%2B1/rive_native_artifacts_android.zip
[rive_native]   Exception: Hash verification failed. Exiting script.
[rive_native]   #0      RiveSetup._downloadBinaries (file:///Users/jacoballenwood/.pub-cache/hosted/pub.dev/rive_native-0.1.0/bin/setup.dart:492:7)
<asynchronous suspension>
#1      RiveSetup.init (file:///Users/jacoballenwood/.pub-cache/hosted/pub.dev/rive_native-0.1.0/bin/setup.dart:178:9)
<asynchronous suspension>
#2      main (file:///Users/jacoballenwood/.pub-cache/hosted/pub.dev/rive_native-0.1.0/bin/setup.dart:105:5)
<asynchronous suspension>
Dominant language
Dart
Stars
1.5k
Forks
240
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rive-app/rive-flutter

All issues in rive-app/rive-flutter

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.