When testing the example Basic Fullscreen Handling video for react-native, I found the fullscreen logic breaks if the System UI is enabled for iOS. I tested this on v0.23.0.
Adding this style config broke the fullscreen logic for me:
styleConfig: {
userInterfaceType: UserInterfaceType.System,
},
With this enabled, the state fullscreenMode
state stays false when exiting or entering fullscreen mode. Also the onFullscreenEnter
and onFullscreenExit
events do not get called.
Is there a way to enable the fullscreen state changes while enabling the system UI?
The logic works perfectly fine if I remove this styleConfig from the player object.
Thanks so much!