Inhaltsverzeichnis

Progressive Web App (PWA)

Starting with version 5.1, Admidio provides native support for Progressive Web Apps (PWA). This feature allows members and administrators to install your Admidio installation directly from their web browser onto smartphones, tablets (Android, iOS/iPadOS), and desktop operating systems (Windows, macOS, Linux) as a standalone application – without requiring an app store!

Admidio as a Progressive Web App (PWA)

Key Benefits

Requirements

For modern browsers to enable and offer PWA installation, the following requirements must be met:

  1. HTTPS Encryption (SSL): Modern browsers restrict Service Workers and Web App Manifests strictly to secure HTTPS connections (or locally via localhost for development). If your installation does not yet use HTTPS, see HTTPS for Admidio Websites.
  2. Admidio Version 5.1 or newer
  3. A Modern Web Browser:
    • Android: Google Chrome, Microsoft Edge, Samsung Internet, Firefox Mobile, Brave
    • iOS / iPadOS (iPhone & iPad): Safari (iOS 11.3+, optimal support on iOS 16.4+)
    • Desktop: Windows 10/11 (Chrome, Edge), macOS (Chrome, Edge, Safari on macOS Sonoma+), Linux (Chrome, Chromium, Brave)
    • Note on Desktop Firefox: Mozilla Firefox currently does not support PWA installation on desktop operating systems. For a standalone desktop app window, using a Chromium-based browser is recommended.

User Installation Guide

Admidio automatically detects the user's operating system and browser, providing the most straightforward installation path.

1. Android & Desktop (Google Chrome, Microsoft Edge, Brave)

On Chromium-based browsers, Admidio offers a convenient one-click installation:

  1. When you visit Admidio, an “Install app” button (with a download icon) automatically appears in the top navigation bar.
  2. On mobile devices, an unobtrusive installation banner with your organization logo appears near the bottom of the screen after a brief moment.
  3. Click or tap “Install app” or “Install”.
  4. Confirm the browser prompt by clicking Install.
  5. That's it! The app shortcut is placed on your home screen or desktop application menu, ready to launch Admidio in a dedicated window.

Install Button and Mobile Banner

2. Apple iOS & iPadOS (Safari on iPhone & iPad)

Apple Safari does not support automated 1-click web prompts. When tapping “Install app” on an iOS device, Admidio presents an illustrated step-by-step modal guide:

  1. Tap the Share button (square with an arrow pointing upward) in Safari:
    • On iPhone: Toolbar at the bottom of the screen.
    • On iPad: Toolbar at the top of the screen.
  2. Scroll down through the actions and select “Add to Home Screen”.
  3. Tap “Add” in the top-right corner.
  4. Admidio is now installed on your iOS home screen like a native app.

3. Firefox Mobile (Android)

  1. Tap the three-dots menu (⋮) next to the address bar (at the top or bottom).
  2. Select “Add to Home screen” or “Install”.
  3. Tap Add to confirm.

Where do I find the install option if I closed the banner?

If you previously dismissed the banner or navbar button by clicking the cross icon (×), you can still install the app at any time:

Once Admidio is launched as an installed app in standalone mode, all install banners, buttons, and prompts are automatically suppressed.

Administrator Configuration

PWA support is active and preconfigured out of the box in Admidio 5.1. Administrators have full control over enabling/disabling the feature, branding, and app icons.

Enabling or Disabling PWA Support

In the administration area under Settings > Preferences > General:

Preference Description Default Value
Enable Progressive Web App (PWA) Controls the web app manifest, service worker registration, and installation prompts. Enabled (Yes)

When disabled:

Customizing the App Name

The name and short name of the installed app are derived automatically from your organization settings:

Customizing App Colors

The theme colors for the app's title bar and initial splash screen are inherited directly from your theme preferences:

Custom App Icons (Branding)

To display your organization's crest, coat of arms, or logo on member home screens, Admidio provides an automated multi-tier icon resolution system. You can supply custom icons without modifying any core files:

Priority File Location & Name Recommended Dimensions Purpose
1 (Recommended) adm_my_files/app_icon_512.png 512 × 512 px (PNG) High-resolution master icon for home screens and app launchers.
1b adm_my_files/app_icon_192.png 192 × 192 px (PNG) Standard icon for mobile home screens and taskbars.
1c adm_my_files/app_icon.png min. 512 × 512 px (PNG) Universal icon (automatically scaled for all required resolutions).
2 adm_my_files/admidio_logo_512.png 512 × 512 px (PNG) Alternative organization logo in the data directory.
3 themes/<YourTheme>/images/admidio_logo_512.png 512 × 512 px (PNG) Theme-specific icon within the active theme folder.
4 Custom PNG favicon in Settings > Preferences > Design Any (PNG) Fallback from configured favicon.
5 (Fallback) system/logo/admidio_logo_512.png 512 × 512 px (PNG) Default Admidio logo.
Tip: Simply upload your organization logo as a square PNG file (at least 512×512 pixels) named app_icon_512.png (or app_icon.png) into the adm_my_files/ folder. Because adm_my_files/ is preserved during Admidio upgrades, your custom app icon will remain completely update-safe!

Maskable Icons for Android (Adaptive Icons)

Modern Android devices crop application icons dynamically according to the device manufacturer's style (circles, squircle, rounded rectangles).

adm_my_files/app_icon_maskable_512.png (or adm_my_files/app_icon_maskable.png)

Technical Architecture & Caching Strategy

For developers and administrators interested in internal workings:

Frequently Asked Questions (FAQ)

Why is the install button not showing up?

  1. HTTPS is not active: Verify that you are accessing Admidio via https://. Browsers prohibit PWA installation over insecure HTTP connections.
  2. App is already installed: If Admidio is already running in standalone app mode, install prompts are intentionally hidden.
  3. Feature disabled in preferences: Check Settings > Preferences > General and verify that “Enable Progressive Web App (PWA)” is switched on.
  4. Desktop Firefox: Firefox does not support PWA installation on desktop computers. Please use Chrome, Edge, or Brave.
  5. Previously dismissed: If you clicked “Do not show again”, the prompt is hidden. You can still install the app via the user profile menu in the top right or the link in the footer.

How do updates work for installed apps?

Updates are completely automatic. Whenever you update Admidio on your web server or deploy new assets, the Service Worker detects the changes in the background and refreshes cached assets seamlessly (via skipWaiting and clients.claim). Users do not need to reinstall the app.

How do I uninstall the app?