02-24-2025, 01:35 PM
(01-13-2025, 05:09 PM)Tim Curtis Wrote: This is to pick up where we left off late last year regarding the requirement for HTTPS on Android to be able to perform "Add to Home Screen" and make Browser moOde into an app (based on work by @the_bertrum)
https://moodeaudio.org/forum/showthread....4#pid60294
It looks like the following changes are needed to make use of the easy Automatic Cert feature in the Security section of System Config.
1. Modify the cert template in /var/www/util/gen-cert.sh to specify CA:TRUE
Code:basicConstraints = critical, CA:TRUE
2. In /var/www/header.php uncomment / reenable the site.webmanifest file
Code:<!--link rel="manifest" href="/site.webmanifest"-->
3. Contents of site.webmanifest (does it need to be modified?)
Code:{
"name": "",
"short_name": "",
"icons": [
{
"src": "/v5-android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/v5-android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
4. Create step-by-step instructions for installing the cert into Android and IOS Smartphone/Tablet operating systems.
5. Create step-by-step instructions for installing the cert into Desktop Linux/MacOS/Windows operating systems.
Some questions:
1. Whats the purpose of the webmanifest file?
2. Does "Add to Home Screen" on IOS require HTTPS?
I tried all the steps except cert installation, still same? do we need install cert also ?