If you are unfamiliar with Shortcuts, this feature lets you declare a handful of links that will appear as part of the context menu of your PWA’s icon within the host OS. On most desktop operating systems, these actions are accessed by right clicking on the app icon. In iOS, you “force touch” or “long touch” (depending on your device generation) the icon, and on Android they appear when you “long press” the icon. You can learn more about Shortcuts in the Explainer.
When discussing this with Rayan (and others), it appears that Android draws a distinction between “static” shortcuts and “dynamic” ones. Static shortcuts are generated when the app is installed; dynamic shortcuts don’t appear until the app has been run the first time. Static shortcuts are immutable (i.e., can’t be changed); dynamic shortcuts can be replaced by application logic at any time. These two different classes of shortcut also exist in different collections in the context menu and cannot be intertwined in the same menu system (i.e., all static shortcuts are in one group and all dynamic shortcuts are in another).
Further complicating things, iOS draws a distinction between “static” and “dynamic” shortcuts, but based on my cursory reading of the docs, even dynamic shortcuts are immutable once created. From what I’ve read, desktop OSes do not seem to support distinct shortcut types.