aws / aws/amazon-ivs-react-native-player
PIP doesn't work on iOS or Android
- 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:
**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
Assessment
This issue has not been assessed yet.