question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Default Blazor WASM PWA project template causes warning in Chrome 89+ - "Site cannot be installed: Page does not work offline."

See original GitHub issue

Not sure this is really a bug, but it is a problem 😉

After creating a barebones Blazor WASM PWA project and running it in Chrome 89, we get the following warning: Site cannot be installed: Page does not work offline. Starting in Chrome 93, the installability criteria is changing, and this site will not be installable. See https://goo.gle/improved-pwa-offline-detection for more information.

image

Repro: https://github.com/ChristianWeyer/blazor-wasm-pwa-chrome-repro


~ dotnet --info .NET SDK (reflecting any global.json): Version: 6.0.100-preview.2.21155.3 Commit: 1a9103db2d

Runtime Environment: OS Name: Mac OS X OS Version: 11.2 OS Platform: Darwin RID: osx.11.0-x64 Base Path: /usr/local/share/dotnet/sdk/6.0.100-preview.2.21155.3/

Host (useful for support): Version: 6.0.0-preview.2.21154.6 Commit: 3eaf1f316b

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
javiercncommented, Mar 15, 2021

@ChristianWeyer thanks for contacting us.

We’ll take a look at this and update the issue accordingly.

1reaction
captainsafiacommented, Apr 22, 2021

It looks like Chrome is putting the plans to add these validations on hold.

https://developer.chrome.com/blog/improved-pwa-offline-detection/.

Updated April 14th, 2021: We previously announced plans to update the installability criteria to ensure a PWA actually provides an offline experience. After listening to your feedback, and discovering a number of issues, we have decided to put those plans on hold. We strongly believe providing a valid page when the user is offline is critical to providing a good user experience.

I also tried this on Edge 90.0.818.42 and it works fine.

So I don’t think there’s any work to do here for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

blazor wasm PWA not loading offline after installed as ...
Is this happening in a published Project? If you are installing it via Debug/Release Mode in VS then the problem is that it...
Read more >
Page does not work offline Error
Starting in Chrome 89 (stable in March 2021), if the PWA does not provide a valid response when ... Site cannot be installed:...
Read more >
ASP.NET Core Blazor Progressive Web Application (PWA)
In this article. Create a project from the PWA template; Convert an existing Blazor WebAssembly app into a PWA; Installation and app manifest ......
Read more >
Blazor WASM PWA -- Local run shows Install; Published ...
I created a new WASM project as PWA. Just kept the template with no changes. When I run it locally (IIS Express), the...
Read more >
How do I create a Blazor WebAssembly PWA to work offline?
Create a Blazor WebAssembly application with a progressive web application configuration. Press Ctrl + F5 to run the application. Users have the option...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found