Spomky-Labs / pwa-bundle

PHP library for generating a full featured PWA manifest
https://pwa.spomky-labs.com
MIT License
28 stars 1 forks source link

Bad screenshot type yaml configuration #171

Open davidromani opened 1 month ago

davidromani commented 1 month ago

Version(s) affected

1.1.4

Description

Screenshot type config parameter doesn't works.

How to reproduce

pwa:
    manifest:
        enabled: true
        screenshots:
            -
                src: 'screenshots/screenshot-desktop-1.png'
                platform: 'macos'
                label: 'Landing page'
                form_factor: 'wide'
                type: 'image/png'

Possible Solution

It seems that for now only works if you write format instead of type. Fix the related documentation here