<html>
<head>
	<link rel="apple-touch-icon" href="icons/icon-32.png">
	<link rel="apple-touch-icon" sizes="512x512" href="icons/icon-512.png">
	<meta name="mobile-web-app-capable" content="yes" />
    <meta name="apple-touch-fullscreen" content="yes" />
    <meta name="apple-mobile-web-app-title" content="CISERP" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="default" />
	<link rel="manifest" href="ciserp.webmanifest">
</head>
<body>
		Applicacao PWA
		
	<script>
		// Detects if device is on iOS 
		const isIos = () => {
		  const userAgent = window.navigator.userAgent.toLowerCase();
		  return /iphone|ipad|ipod/.test( userAgent );
		}
		// Detects if device is in standalone mode
		const isInStandaloneMode = () => ('standalone' in window.navigator) && (window.navigator.standalone);

		// Checks if should display install popup notification:
		if (isIos() && !isInStandaloneMode()) {
		  this.setState({ showInstallMessage: true });
		}
	</script>
</body>
</html>