MicrosoftEdge / MSEdgeExplainers

Home for explainer documents originated by the Microsoft Edge team
Creative Commons Attribution 4.0 International
1.29k stars 205 forks source link

[Acquisition Info] How do deal with multiple install sources? #704

Closed dmurph closed 6 months ago

dmurph commented 10 months ago

An app can be installed via multiple types of install sources, even stores. how does this API handle that?

Example:

Also there is policy install, preinstall, etc.

kyerebo commented 9 months ago

Hey Dan- Thanks for taking the time to raise these issues. I'm trying to get in touch with an SME to gain some context around existing App Sync behaviors, and I'll be addressing this as soon as I can.

kyerebo commented 9 months ago

Current behavior for App Sync is that user data such as install source from a previous app install isn't synced over, and the local install source for any applications that were installed as a result of sync are simply listed as "sync" by default. If an app already exists on a different device before the sync, the install source should be maintained per device and wouldn't be synced over. The API would follow this convention by listing the install source as "sync" for apps that have been synced over. If an app is already installed, it shouldn't be overridden by sync and we'd just list whatever install source is listed on a per device basis. I'll update the Explainer to reflect these new install source cases unless you have any additional thoughts about handling this a different way.

HowardWolosky commented 6 months ago

Issue was resolved with #722.