Jump to content

[Phaser] Cannot full screen on mobile


Recommended Posts

Hi everybody,

Please help me i can not fullscreen on web mobile (android + ios), only work on desktop

1. on Create function:

 game.scale.fullScreenScaleMode = Phaser.ScaleManager.SHOW_ALL;
  game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;


  game.input.onDown.add(gofull, this);

2. function fullscreen:

function gofull() {
  if (game.scale.isFullScreen) {
  } else {


I tested many times but not work in mobile please help me

Link to comment
Share on other sites

7 hours ago, tywang2006 said:


It is fine for me, which version are you using.


What happens for you on iOS? Which doesn't support fullscreen.

I scanned through the Phaser code, does it just try to make your canvas fill the viewport? i.e. you still have safari chrome visualised?

Link to comment
Share on other sites

i am using Phaser v2.6.2 

In  html file i using Phaser.CANVAS and also test meta tag not effect

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-capable" content="yes">

I tested in web mobile : safari and chrome.

I checked in Android device already ScaleManager with supportsFullscreen = true, and in IOS supportsFullscreen = false.

But both Android and IOS device can not full screen

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...