--
You received this message because you are subscribed to the Google Groups "pwa-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pwa-dev+u...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/pwa-dev/2d687dfe-f3a8-48e9-8e70-ddc7384fd711n%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/pwa-dev/CAAfNzYY_LkVumez8fwpLw%3DRWMZX%3DOiU%2BLnr3Z7zGbWU2FRUB%3DA%40mail.gmail.com.
Glenn, Daniel, thank you for your responses even though they are not what I’d hoped for.
My mistake, I’d assumed that, when support for ID was announced as scheduled for Android Chrome 96 in the first half of 2022 and observing that I now have Chrome 105 and we are midway through the second half of 2022, support for Id would now be available. But we all know what can happen to IT schedules!
But, as you say, Chrome on the desktop behaves as I described. I am somewhat surprised because my understanding of the ID property is that it is intended to uniquely identify a PWA thereby removing any ambiguity so multiple PWAs can exist regardless of their scope, url, path to manifest, whatever.
I can’t find any mention of the id property in the article on separate origins so I wonder if the authors were aware of it – their article was published 3 months before the id property announcement. Their ‘challenges’ for same-origin PWAs don’t strike me as being particularly challenging, in fact they could be seen as beneficial.
It seems to me that an opportunity is being missed here to show a clear advantage for PWAs. Take the following scenario:
Incidentally, it is possible to have two PWAs with the same scope on the same device. Open the Orange URL and accept the invite to install. While it is doing installing open the Banana URL and Add to Phone. Result - two apps installed that work as I would like to see but this is not really a solution for the MOTP!
Edge, Opera and Firefox allow separate icons for Orange and Banana to be added to one’s phone. Of course they are not really apps, more shortcuts that open in kiosk mode as far as I can see, but nevertheless they do allow MOTP to achieve that which we wants to achieve.
Thanks again
Richard
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/pwa-dev/047601d8c78a%24645adbc0%242d109340%24%40gmail.com.
Adriana, thank you for that. I well understand how it all works but what I am trying to explain is why this architecture is deeply unsatisfactory. I’ll have another go.
There is a long tradition of using the same web page to display information about different things – products, places, events, whatever. The classic way of doing this is to append a query string to a URL, eg example.com/?fruit=orange, example.com/?fruit=banana. Users can open individual pages and, if they know how, add them to their phone. That way they get one-tap access to the item of interest.
But wouldn’t it be nicer if the web page was installable as a PWA. The manifest can be created on the fly based on the query string and, when the user opens the page, they are asked if they want to install the app rather than needing to know about Add to phone. Plus of course they get an app-like experience.
Neat but no! The first instance installs the PWA but the second just opens as a web page. Ok, you can then open it in the app but why would you bother to do that?
What’s worse you can’t then Add to phone so, once you’ve got the PWA installed for, say, orange there is no quick way of getting to banana. You have to go and find the original link.
What this all means is that PWAs, as implemented by Chrome, are unusable where an organisation wants to use the same code to publish multiple items. And that’s a great shame. Or am I missing something? This is such a fundamental flaw that I feel I must be.
Richard