TheWidlarzGroup / react-native-video

A <Video /> component for react-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]: missing notification controls if showNotificationControls initially is set to true on IOS

bemog opened this issue · comments

Version

6.2.0

What platforms are you having the problem on?

iOS

System Version

17.5.1

On what device are you experiencing the issue?

Real device

Architecture

Old architecture

What happened?

After last release the notification controls are missing if showNotificationControls prop is initially set to true on IOS.

If it's initially set to false and after some delay or after pressing a button we change it to true, notification controls works correctly.

Reproduction

https://github.com/TheWidlarzGroup/react-native-video/tree/master/examples/basic

Reproduction

  1. Go to the basic example project
  2. Open the VideoPlayer.tsx component
  3. Change the showNotificationControls={this.state.showNotificationControls} to showNotificationControls={true}