rive-app / rive-app/rive-android

Audio does not start after reopening the animation

Open
#396 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
Dominant language
Kotlin
Stars
538
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Description

I am using the latest version of SDK 10.3.1. I took your example with ping pong. The sound stops playing in the animation after minimizing and maximizing the application. The sound also stops playing when returning to the screen with animation.

Provide a Repro
  • Open app
  • Open animation
  • Close screen with animation
  • Open again screen with animation
Expected behavior

Sound should play.

Videos

Link to google driven with videos
https://drive.google.com/drive/folders/1rfKxu8oDmt8Yt_zAhiM-dG4ljbSfklaM?usp=drive_link

Device & Versions (please complete the following information)
  • Device: Pixel 9 pro android 16, pixel 7a android 14, samsung s24 android 15, samsung fold 6 android 15

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the issue with the listed steps: open an animation, leave its screen or minimize the app, then return. Inspect the Android animation and audio lifecycle around screen and application resume events. Done means sound reliably resumes after reopening the animation or returning to the app on the reported Android devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.