The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


moOde App - Add to Home screen & HTTPS
#1
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?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
moOde App - Add to Home screen & HTTPS - by Tim Curtis - 01-13-2025, 05:09 PM

Forum Jump: