Full Screen Mode on Android and iPhone browser

Hi Team,

I am new in Playcanvas and created an application in Playcanvas.

It is working perfectly fine.

My next step is to make the application run FULL Screen(landscape mode) on iPhone and Android mobile browser (safari, chrome, Firefox).

I am absolutely fine if the full screen can be enabled by touch input. But I am not sure if this is possible with iPhone browsers. Though I believe it is possible with android devices.

Would be great if I can get some assistance on this from community.

Looking forward for some great advice.

Thanks

Hi @kunal_joshi,

You can check the compatibility of the fullscreen API here:
https://caniuse.com/fullscreen

I made a project showing how to fullscreen and cancelfullscreen, here:

https://playcanvas.com/project/888086/overview/full-screen
Build: Full Screen - PLAYCANVAS

1 Like