fix(pwa): add maskable icon to web manifest (#1456)

This commit is contained in:
Joaquín Sánchez 2023-01-25 21:16:32 +01:00 committed by GitHub
parent bc78b50ee0
commit 050092b87a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 12 additions and 0 deletions

View file

@ -92,6 +92,12 @@ export const createI18n = async (): Promise<LocalizedWebManifest> => {
sizes: '512x512',
type: 'image/png',
},
{
src: 'maskable-icon.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any maskable',
},
],
share_target: {
action: '/web-share-target',
@ -132,6 +138,12 @@ export const createI18n = async (): Promise<LocalizedWebManifest> => {
sizes: '512x512',
type: 'image/png',
},
{
src: 'maskable-icon.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any maskable',
},
],
share_target: {
action: '/web-share-target',