Re: [w3c/manifest] Document the unique identifier or tuple of identifiers for a PWA (#586)

Please give some examples of these proposed IDs.

On Fri, 12 Jul 2019 at 05:04, alancutter <notifications@github.com> wrote:

> This issue has come up again in the context of updating installed PWA
> manifest data.
>
>    - When a site has changed its
>    name/scope/theme_color/start_url/manifest URL how do we know we're looking
>    at the same app and not a different one that shares the same scope?
>    - When a PWA installation is synced across devices how do we know the
>    sync has been satisfied when sites may have arbitrary device specific
>    differences in their metadata?
>
> I don't think making an app identified by its manifest is reasonable long
> term. Sites should be able to re-architect their directory structure/web
> framework necessitating a change in manifest URL during the lifetime of a
> user install.
>
> I think we should add an optional "id" field to the manifest that defaults
> to the manifest URL but can be overridden with whatever the site likes.
> This ID will be scoped to the start_url's origin and cannot collide with
> IDs from other origins. This would enable sites to update any aspect of
> their manifest except their origin and the id.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/w3c/manifest/issues/586?email_source=notifications&email_token=AAAKU7CBTGKS2MRTV72MHOLP67YDFA5CNFSM4DQH6PJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZYRHFI#issuecomment-510727061>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAAKU7CE7U7CS435RIKYIDTP67YDFANCNFSM4DQH6PJQ>
> .
>


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/586#issuecomment-510746591

Received on Friday, 12 July 2019 05:08:44 UTC