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

Android: loading indicator shows while buffering and cannot be disabled

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

Description

**Describe the bug**
On Android, a loading spinner is shown in the center of the player while buffering. It is drawn by the SDK's `PlayerView` and there is no way to turn it off — `controlsEnabled = false` only affects `PlayerControlView`. iOS does not show anything, so the two platforms behave differently. Apps that render their own loading UI end up with two indicators on top of each other.

**To reproduce**
1. Render `` on Android.
2. Watch the center of the player while it buffers (initial load, or a rebuffer during playback).

**Expected behavior**
Either no built-in indicator, or a prop to opt out so it matches iOS. e.g.

```tsx

```

**Screenshots**
N/A

**Device (please complete the following information):**
- Simulator or Real Device: Real Device
- Device: Redmi Note 12
- OS: Android 13

**Debug logs**
N/A

**Additional context**
React Native 0.81. Android only.

Contributor guide

Open the contributing guide

Research direction

Start at the IVSPlayer entry point and follow how Android's PlayerView draws the buffering indicator, especially the existing controlsEnabled behavior. Add an opt-out matching the proposed hideLoadingIndicator prop, then verify that buffering shows no built-in spinner when disabled and that the normal indicator remains available otherwise.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.