android-components / mozilla.components.feature.pwa / WebAppShortcutManager / <init>


WebAppShortcutManager(context: <ERROR CLASS>, httpClient: Client, storage: ManifestStorage, supportWebApps: Boolean = true)

Helper to manage pinned shortcuts for websites.


httpClient - Fetch client used to load website icons.

storage - Storage used to save web app manifests to disk.

supportWebApps - If true, Progressive Web Apps will be pinnable. If false, all web sites will be bookmark shortcuts even if they have a manifest.