Web Mobile Full Screen using autoFullScreen not working

Hello everyone,

Full screen on an Android device does not seem to work, while it makes desktop full screen work perfectly. I’ve used to make full-screening work with desktop:

 cc.view.enableAutoFullScreen(true);
 cc.view.setDesignResolutionSize(480, 640, cc.ResolutionPolicy.EXACT_FIT);
 cc.screen.autoFullScreen(document.getElementById('Cocos2dGameContainer'), function(){
       cc.log('now fullscreen');
 });

I’ve read through the cc.view and cc.screen docs as well as multiple resolution policy for Cocos2D-JS.

If this is a known issue, is there a way to hide the URL bar, or another alternative to have mobile full screen? Thank you in advanced.

1 Like