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

PIP doesn't work on iOS or Android

Open
#169 2 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**
PIP doesn't work for me on iOS or Android - it does nothing at all on both.

**To reproduce**
```
const ref = useRef(null);

// then add a button that calls this
ref.current?.togglePip();
```

I have updated AndroidManifest with:
```
android:resizeableActivity="true"
android:supportsPictureInPicture="true"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|smallestScreenSize|orientation"
```

and checked this in XCode:
Screenshot 2024-01-11 at 4 02 18 pm

**Expected behavior**
Video should go into picture-in-picture mode, but instead nothing happens. Should it just work?

**Device:
- Real Device:
- Device: iPhone 15 Pro Max & OnePlus 7T Pro
- OS: iOS & Android

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.