New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 759034 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Users should be able to return to a Progressive Web App after exiting to another site

Reported by iversond...@gmail.com, Aug 25 2017

Issue description

Steps to reproduce the problem:
1. Open "primary" site in a Progressive Web App (PWA) from device home screen
2. Click link to go to different ("external") site
3. External site opens in default OS browser (Chrome)
4. External site redirects browser back to primary site. (In my use case it redirects back with an OAuth token.)
5. Primary site appears in Chrome browser, NOT in PWA. User has no way to return to the PWA.

What is the expected behavior?
When the "external" site redirects back to the "primary" site, the primary site should reopen in the PWA, instead of in the browser.

Or another option: the browser should show a "return to PWA" button—when clicked it would open the page in the PWA.

What went wrong?
The user has no way to return to the PWA after exiting to an external site.

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: 60.0.3112.107  Channel: stable
OS Version: 6.0.1
Flash Version: 

My use-case for this is OAuth. I'm working on an PWA that can be added to the device home screen. When the user opens the app, they are prompted to log in via Goodreads (a book website) via OAuth 1. The PWA opens a Chrome browser (non PWA) window at Goodreads.com where the user can log in. After login, Goodreads redirects back to the primary site with a token. But the user cannot return to the PWA app—they are stuck in the browser.
 
Cc: aska...@chromium.org
Labels: triage-te
Components: Mobile>WebAPKs
Labels: -triage-te
Owner: yfried...@chromium.org
Status: Assigned (was: Unconfirmed)
Cc: yfried...@chromium.org
Owner: piotrs@chromium.org
I assume this is actually opening in a custom tab. Piotr: I thought you had a CL to fix this?
I'm not sure what you mean by "custom tab". The new page opens in a standard Chrome browser tab, not inside the "save to home screen" app.
Chrome M61 should be released soon (1-2 weeks?) and this will change there. If I understand your use case correctly, the external website will open in Chrome Custom Tab and the redirect will take the user back to the installed experience.

Can you check what's the experience on Chrome Beta and report back?
Ping, worth revisiting not that 61 is stable

Comment 7 by piotrs@chromium.org, Oct 31 2017

Status: Fixed (was: Assigned)
This has been fixes for some time now, please reopen if I don't understand the issue correctly.
Thanks Piotr! Confirmed that this is fixed-sorry for the delay. These new custom tabs work great!
Great to hear you like the new solution!

Sign in to add a comment