pwa-module icon indicating copy to clipboard operation
pwa-module copied to clipboard

fix: Use manifest 'name' for 'short_name' if provided

Open gabrielchl opened this issue 3 years ago • 0 comments

The current default manifest short_name is the project package name, even when a custom name is provided for the manifest. This is not ideal as developers might assume that when name is provided, short_name would default to be the same as name, especially that it's optional (https://developer.mozilla.org/en-US/docs/Web/Manifest/short_name).

This patch uses the name value (if provided) for short_name, and otherwise uses the project package name as usual.

gabrielchl avatar Nov 13 '21 18:11 gabrielchl