Context:
I successfully implemented fullscreen with the React Native player: GitHub - bitmovin/bitmovin-player-react-native: Official React Native bindings for Bitmovin's Mobile Player SDKs.
Current behavior:
When watching a video in fullscreen, if I don’t interact with the screen for a few seconds, the player’s controls fade out, but the home indicator does not fade out. It stays visible. (The home indicator is the bar at the bottom of the screen, which allows the user to return to the device’s home screen when dragging it up, among other things.)
Expected behavior:
The home indicator also fades out if I don’t interact with the screen for a few seconds, like it’s the case on Youtube and Twitch apps, for instance.
How can I hide the home indicator in fullscreen?
Thank you for any help!
Details:
-
I am using latest version as of Nov. 15 2023
-
Here is an example of a similar issue in a different repository : Iphone X hide home indicator when playing in fullscreen · Issue #1397 · react-native-video/react-native-video · GitHub
-
I will also attach a screenshot of my issue with Bitmovin :
-
I was expecting the home indicator to fade out, or at least to find APIs to hide it, since it feels pretty important for a video player. And Bitmovin already offers APIs of that kind, such as AudioSession to enable sound on iOS for picture-in-picture or to bypass silent mode. However I couldn’t find anything in the documentation or in the examples provided by Bitmovin (https://github.com/bitmovin/bitmovin-player-react-native/tree/development/example and GitHub - bitmovin/bitmovin-player-ios-samples). In the Bitmovin app available on the stores, the home indicator never disappears either.
-
I don’t know much about native iOS development but I know Apple provides at least setNeedsUpdateOfHomeIndicatorAutoHidden() and prefersHomeIndicatorAutoHidden.