google / physical-web

The Physical Web: walk up and use anything
http://physical-web.org
Apache License 2.0
6k stars 667 forks source link

Nearby moving from the phone's default browser to webview #912

Open ferencbrachmann opened 7 years ago

ferencbrachmann commented 7 years ago

Guys, I just wanted to have a thread on your experiences with Nearby moving from using the default browser to open a URL to using Webview.

mmocny commented 7 years ago

Its actually using Chrome Custom Tabs which is almost like using the browser, except it can load faster and makes it easier for users to navigate between a list of items.

For those unaware, Custom Tabs use the Chrome application to render the page, but embedded within a little wrapper inside another application. The pages will still share users' cookies and so forth, and it's easy to pop out into browser UI, bookmark, etc if you like.

ferencbrachmann commented 7 years ago

Cool thanks! Is there anything going on with Chrome for iOS/Android?

kelvinwatson commented 7 years ago

This is a negative for us because Chrome Custom Tabs does not seem to support the Progressive Web App (PWA)'s automatic "add to home screen" pop up (https://developers.google.com/web/updates/2017/02/improved-add-to-home-screen).

I am guessing this is because Chrome custom tabs does not currently support all parts of the PWA's manifest?

It would really be awesome for Google to address this because with the hype of Progressive Web Apps, it does not make sense for Custom tabs to not fully support the manifest.