Skip to content

[Blazor:Server side] iOS WebClip hangs after server restart. #13001

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vertonghenb opened this issue Aug 9, 2019 · 2 comments
Closed

[Blazor:Server side] iOS WebClip hangs after server restart. #13001

vertonghenb opened this issue Aug 9, 2019 · 2 comments
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue

Comments

@vertonghenb
Copy link
Contributor

Description

When a Blazor Server-Side app is deployed it is possible to add the Website as a Homescreen shortcut on iOS. This can be achieved by the following steps: add website as App Icon on iOS. The website can then be started as an App. However, if you're supporting fullscreen by adding the following line of code to the _host.cshtml head:

    <meta name="apple-mobile-web-app-capable" content="yes">

The browser navigation bar and refresh capabilities are gone. Thus you cannot refresh the app:

Full Screen Blazor Server Side App:

IMG-2764

Full Screen Blazor Server Side App when the connection to the circuit is lost:

It's rather impossible to refresh the App.
IMG-2765

To Reproduce

Steps to reproduce the behavior:

  1. Create a new simple Blazor Server-Side Project (Preview-7)
  2. Add the following line of code to the head of the _host.cshtml page
    <meta name="apple-mobile-web-app-capable" content="yes"> to the
  3. Deploy the App on Azure
  4. Use safari on any iOS device to browse the website
  5. Add the website to the home screen using this tutorial
  6. Restart the app to trigger a circuit connection loss.
  7. You're unable to refresh the app.

Expected behavior

Add a possibility to refresh the app on a circuit connection loss.

@vertonghenb
Copy link
Contributor Author

I guess this will be fixed by #12442, just logging the issue so it's tracable.

@mkArtakMSFT mkArtakMSFT added the area-blazor Includes: Blazor, Razor Components label Aug 9, 2019
@mkArtakMSFT
Copy link
Member

Thanks for contacting us, @vertonghenb.
You're right, the fix in the referenced issue will improve the experience here too.

@mkArtakMSFT mkArtakMSFT added the ✔️ Resolution: Duplicate Resolved as a duplicate of another issue label Aug 9, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Dec 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants