Full-Screen Button Not Appearing in Bitmovin Player for React Native iOS App

Product

Player

Question

Hi,
I’m working on integrating the Bitmovin player into a React Native iOS mobile app. I followed the sample code from the Bitmovin documentation, but the full-screen button is not appearing.
Can you help me resolve this issue?
Thanks

Hi @nicholas.stokes_bitc!

I assume you mean this guide.

Do you see any error messages?

What is crucial is to pass fullscreenHandler={fullscreenHandler} to the <PlayerView> component, might be easy to miss.

Also make sure that your implementation of the FullscreenHandler is a class and an instance of it is held in a reference (useRef).
When passing this to PlayerView you need to pass the current value not the reference, e.g. <PlayerView fullscreenHandler={fullscreenHandler.current}>.

You can also check out our open-source example implementation here.