How to prevent from auto full screen in mobile?

Hello guys,

I am trying to run game built from CocosCreator v1.7.2 in mobile browser as a windowed mode. but in some android and iOS devices it is converted to full screen mode automatically. I also tried setting variable in cc.view.enableAutoFullScreen(false) but it is not working. Can you please suggest anything about this? Thanks in advance.