Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow iOS to set full screen icon manually #50

Open
zhiyao92 opened this issue Sep 15, 2020 · 1 comment
Open

Allow iOS to set full screen icon manually #50

zhiyao92 opened this issue Sep 15, 2020 · 1 comment

Comments

@zhiyao92
Copy link

Looking at the documentation for both iOS and Android, there is some inconsistency. On Android, they are allowed to set the full screen either true or false with

setFullScreenButton(Boolean)

But not on iOS. On iOS, it's only toggleFullscreen() which doesn't let you play with the boolean value at all.

Wondering if there is any work around?

@zhiyao92 zhiyao92 changed the title Allow iOS to set full screen manually Allow iOS to set full screen icon manually Sep 15, 2020
@RemiGuyon
Copy link
Contributor

Hi @zhiyao92 ,
Currently no this is the only way to handle fullscreen with the iOS SDK. However you can handle this logic inside your app by keeping a boolean value for the fullscreen state and only call the SDK when it really changes.
But we will think about adding this behaviour in the SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants