How to disable the auto fullscreen feature on cocos js 3.0

Just try to develop a web game on cocos js 3.0, but we encounter an annoying problem that on android devices, the game always trigger the auto full screen feature even we had deleted the related mata tag in index.html file.

Seems some extra codes need to be finished…

Any suggestion?

Hi,

You can do this :

cc.view.enableAutoFullScreen(false);

and you can detect whether this feature have been enabled by : cc.view.isAutoFullScreenEnabled()