diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4768d96b..abaff3c5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@
### Fixed
- Android: `PlayerView` destroys attached `Player` instance on destroy. `Player` lifecycle must be handled on the creation side
+- tvOS: Picture in Picture sample screen has unwanted padding
## [0.14.0] (2023-11-14)
diff --git a/example/src/screens/BasicPictureInPicture.tsx b/example/src/screens/BasicPictureInPicture.tsx
index 85a1a56c..d1fa44f0 100644
--- a/example/src/screens/BasicPictureInPicture.tsx
+++ b/example/src/screens/BasicPictureInPicture.tsx
@@ -1,5 +1,5 @@
import React, { useCallback, useEffect, useState } from 'react';
-import { Button, Platform, StyleSheet } from 'react-native';
+import { Button, Platform, StyleSheet, View, ViewProps } from 'react-native';
import { useFocusEffect } from '@react-navigation/native';
import {
Event,
@@ -116,9 +116,9 @@ export default function BasicPictureInPicture({
[]
);
+ const ContainerView = Platform.isTV ? View : SafeAreaContainer;
return (
-
-
+
);
}
+function SafeAreaContainer(props: ViewProps): JSX.Element {
+ return ;
+}
+
const styles = StyleSheet.create({
container: {
flex: 1,