cheeaun / cheeaun/hackerweb-native-2

Audio keeps playing even after closing the window or app

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
72
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hey @cheeaun, thank you so much for this app, it's really great!

Here's an interesting bug I've been experiencing lately, not sure the exact steps to reproduce but it goes this way:

1. Open a webview that has a looped audio / video
2. Play the audio / video
3. Close the webview

Expected result:
Content is disposed

Actual result:
Audio/video keeps playing in the background until closing the app

This has been happening for a while and I generally ignored it, today I took the time to write a bug report. Hope that helps improving it!

Here's an example link where this happened to me just recently, go to https://news.ycombinator.com/item?id=40501021 then click on the Twitter demo link which has a video, play the video unmuted, then close the webview and audio will keep playing despite the webview being visibly closed.

---
Additional Info (don't remove):
HackerWeb 2.1.0 (41)
Update: 5faead16-5add-4a15-b05b-72cc157a8bec
Channel: production-2.1.0
Expo -
iPhone 13 Pro (iOS 17.5.1)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue on the listed iPhone and iOS versions using the webview steps and example Hacker News link. Trace the webview close and disposal lifecycle; done means closing the webview also stops any playing audio or video before the app is closed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.