aws / aws/amazon-ivs-react-native-player

Screen sleeps in android according to device settings while video is playing

Open
#143 5 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
313
Forks
42
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
In Android screen gets locked during video playback if the device setting has the auto locked option enabled. If user don't do any interaction then it gets auto locked.

**To reproduce**
Just reduce the time auto screen lock time from device settings and play the video and wait for sometime it will get autolocked

**Expected behavior**
Screen should not get auto-locked while video is in play state

**Device (please complete the following information):**
- Device: Android all devices

Contributor guide

Open the contributing guide

Research direction

Start by reproducing issue 143 on an Android device with a short auto-lock timeout while video plays, then inspect the Android integration used by this React Native player wrapper. Done means the screen remains awake during active video playback without requiring user interaction, while the reported device setting still behaves normally otherwise.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native, typescript
Domain
audio-video-rtc, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.