We're currently working on making our web app run in full screen mode. We were able to achieve this by implementing these meta tags:
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-title" content="Full Screen">
Now, whenever the web app is launched from the home screen of an iPhone or Android device, it will open in full screen mode without any browser controls.
Our next step is to provide users with a way to exit the app. I was considering creating a menu with a quit button, but using window.close() resulted in an error message in Chrome:
Scripts may close only the windows that were opened by it.
What would be the proper approach to address this issue?