Skip to content

Add PWA Support#115

Open
FelixBurkhard wants to merge 2 commits intoLXBdev:mainfrom
FelixBurkhard:main
Open

Add PWA Support#115
FelixBurkhard wants to merge 2 commits intoLXBdev:mainfrom
FelixBurkhard:main

Conversation

@FelixBurkhard
Copy link

Add PWA support to be able to install the App like a native App into Windows/iOS/Android.
I followed these instructions

@LXBdev LXBdev added the deploy deploy to environment label Oct 27, 2024
Copy link
Owner

@LXBdev LXBdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting CORS errors for the webmanifest.

xxx/manifest.webmanifest') from origin 'xxx' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

@@ -0,0 +1,55 @@
// Caution! Be sure you understand the caveats before publishing an application with
// offline support. See https://aka.ms/blazor-offline-considerations
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you consider/test the impact of these settings and offline mode?

<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>a9111ff4-d5fb-46b5-9450-c68be5805382</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: identation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deploy deploy to environment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants