11-12-2020 06:59 AM
11-12-2020 06:59 AM
Enable Migration of browser installed PWA to Store installed app
Enables replacement of browser installed web app with Windows Store installed app. Requires the same Web App to be installed by user from browser and Windows Store. – Windows
this flag exists in Edge Version 88.0.692.0 (Official build) dev (64-bit)
To figure out how this feature works, I installed Spotify web player in Edge and installed Spotify from Windows store, but nothing happened. I was expecting with this feature and based on its description, clicking on the PWA Spotify icon would launch Spotify app installed from the store.
I'd appreciate any info regarding this feature to help understand how it works exactly.
11-12-2020 11:35 AM
@HotCakeX Recently they announced the ability for Microsoft Store PWAs to target the new Edge, instead of Legacy Edge.
I think this flag may be for purpose like for example, if I have Twitter PWA installed by myself, and now if the Twitter app through the Microsoft Store starts targeting the new Microsoft Edge, in that case Edge will migrate our Twitter to the Store one, instead of the one installed by us.
It's just a guess from me, an explanation from the team here would make much more sense.
11-12-2020 10:38 PM
@Rohit Yadav Hello. I tried to do this with twitter. There was no replacement. 88.0.698.0 (Official Build) canary (64-bit version)
11-13-2020 01:27 AM
11-13-2020 01:59 PMSolution
@HotCakeX this one is a little complicated. The flag is meant for the scenario where you have installed a PWA via the Browser and then go to the Store and install the same App. We don't want to have two Tiles, so we have this flag to merge them.
However, the flag is only available in Canary, while the app you install from the Store is Stable. So to see this actually working, you'll need to wait for the flag to get to Stable. I've been trying to figure out language to use that explains this better in the flag description...
11-14-2020 02:23 AM - edited 11-14-2020 02:33 AM
Thanks, that makes sense.
so, If I install Twitter website as an app in Edge and then install Twitter UWP from store, that won't work, right? even if this feature makes it to the stable channel.
for this to work, Twitter needs to publish a PWA version of their app to store.
Microsoft store currently has no category to list PWAs.
so, if my assumption is true, that UWP apps won't replace PWAs, only PWAs from store replace PWAs from Edge stable, then I think you can slightly change the flag's description and title, to this:
Enable Migration of browser installed PWA to Store installed
Enables replacement of browser installed web app with Windows Store installed web app. Requires the same Web App to be installed by user from browser and Windows Store. – Windows