Skip to content

[BUG]: Android | Audio stop when user lock or put the app on Background #4538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
amitkumarcoding opened this issue May 5, 2025 · 3 comments
Labels

Comments

@amitkumarcoding
Copy link

amitkumarcoding commented May 5, 2025

Version

5.2.1

What platforms are you having the problem on?

Android

System Version

Android 12+

On what device are you experiencing the issue?

Real device

Architecture

Old architecture

What happened?

On Android 12+ version, when audio is playing and the user either locks the screen or moves the app to the background, the audio playback stops immediately. This behavior is not observed on earlier Android versions. I am using "react-native": "0.68.2", and video version "react-native-video": "5.2.1",

Reproduction Link

repository link

Reproduction

Steps to Reproduce:

  1. Start audio playback in the app.
  2. Lock the phone or switch to another app (background the app).
  3. Observe: audio stops immediately.
Copy link

github-actions bot commented May 5, 2025

Previous bot comment (click to expand)

Hey! 👋
Thanks for the bug report. To help us resolve your issue effectively, we still need some key information:

  • reproduction link

    Please edit your issue and fill in the missing details.

    Issues with incomplete info are treated with lower priority, so this helps speed things up.

Heads up! ⚠️ You're using version 5.2.1, but the latest stable version is 6.13.0. Please update to the newest version and check if the issue still occurs.

Keeping your dependencies up-to-date often resolves many common problems.

Still having the issue after upgrading? Update the report with the new version details so we can investigate.

Need faster resolution? Consider Issue Boost – it allows us to dedicate time specifically to your issue and fix it faster 🚀

Copy link

github-actions bot commented May 5, 2025

Hey! 👋
Thanks for the bug report. To help us resolve your issue effectively, we still need some key information:

  • reproduction link

    Please edit your issue and fill in the missing details.

    Issues with incomplete info are treated with lower priority, so this helps speed things up.

Heads up! ⚠️ You're using version 5.2.1, but the latest stable version is 6.13.0. Please update to the newest version and check if the issue still occurs.

Keeping your dependencies up-to-date often resolves many common problems.

Still having the issue after upgrading? Update the report with the new version details so we can investigate.

Need faster resolution? Consider Issue Boost – it allows us to dedicate time specifically to your issue and fix it faster 🚀

@amitkumarcoding
Copy link
Author

I have checked on latest version too, issue is still there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To Triage
Development

No branches or pull requests

1 participant