This commit is contained in:
KANE LAZENI 2025-12-24 19:21:27 +00:00
parent f43310cfd0
commit 4ae73bb252
2 changed files with 29 additions and 1 deletions

View File

@ -101,7 +101,6 @@
<!-- END: webview fixes -->
<!-- APLLI MOBILE -->
<!-- <link rel="manifest" href="/manifest.json"> -->
<link rel="manifest" href="/manifest.webmanifest">
<meta name="theme-color" content="#1f2a44">
@ -110,6 +109,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-title" content="RadiantAssure">
<link rel="apple-touch-icon" href="/assets/icons/icon-192.png">
<!-- FIN APLLI MOBILE -->
</head>
<body >

View File

@ -397,6 +397,17 @@
</style>
<!-- APLLI MOBILE -->
<link rel="manifest" href="/manifest.webmanifest">
<meta name="theme-color" content="#1f2a44">
<!-- iOS (installation sur écran daccueil) -->
<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="RadiantAssure">
<link rel="apple-touch-icon" href="/assets/icons/icon-192.png">
<!-- FIN APLLI MOBILE -->
</head>
<body>
@ -550,5 +561,22 @@
}
</script>
<!-- DEBUT PWA -->
<script>
if ("serviceWorker" in navigator) {
window.addEventListener("load", function () {
navigator.serviceWorker.register("/sw.js")
.then(function (reg) {
// OK
})
.catch(function (err) {
// Erreur denregistrement
});
});
}
</script>
<!-- FIN PWA -->
</body>
</html>