Package com.iizix.pwa
package com.iizix.pwa
- ClassDescriptionClass holding custom HTML for an app and potentially a language.The tags the application page gets in its
<head>(PWA-DESIGN.md 3.4 and 3.5, order CC-PWA-V5B-MANIFEST), for the page the application directory generates per language (order V5-E, which calls this class).The icons of an installable application (PWA-DESIGN.md 3.3; orders CC-PWA-V5B-MANIFEST and CC-PUSH-PWA-PAGES Set I, rulings PX-1, PD-1, PD-2, PD-4, PI-3): served under/app/<appID>/by the application directory, which callsPWAIcons.build(Sources)once when the server loads the application, and written into the application's PWA folder by the Designer when the PWA page is applied (ruling PD-2,PWAIcons.missing()).Where a file came from.What the icons are built from.The web app manifest of an installable application, one per language (PWA-DESIGN.md 3.2, order CC-PWA-V5B-MANIFEST), served as/app/<appID>/manifest-<lang>.webmanifest(ormanifest.webmanifestfor an application without languages, ruling PW-3) by the application directory (order V5-E, which calls this class).The offline page of an application,/app/<appID>/offline.html?lang=<lang>(work order CC-PWA-V5C-APP-WORKER; design CC-DESIGN-APP-URL-V2 section 2.5, PWA-DESIGN section 7.1): what an installed application shows when its server is out of reach - the application's Service Worker precaches one per language at install and answers a navigation with it when the network fails.The screenshots of an installable application (CC-PUSH-PWA-PAGES Set I, ruling PM-2): the PNG and JPEG files the designer put into the PWA folder'sscreenshots/directory (PWAIcons.FOLDER_SCREENSHOTS), listed in the manifest'sscreenshotsmember with their sizes read from the files and theirform_factorfrom their shape -narrowwhen taller than wide (a phone),wideotherwise (a desktop) - and served by the application directory as/app/<appID>/screenshots/<name>.One screenshot.The generated Service Worker of one application,/app/<appID>/sw.js(work order CC-PWA-V5C-APP-WORKER; design CC-DESIGN-APP-URL-V2 section 2.5, PWA-DESIGN section 4.1): two lines of text, no file.