Questions tagged [angular-pwa]
154 questions
1
vote
1 answer
PWA - In PWA I want to set Version number and if user current version less than minimum version force user to update version
I want to set version number in PWA such as 1.2.3 and also set minimum supported version for example 1.1.5
if current user site version less than minimum version
we force user to update PWA site and user can not cancel it,
but if user current…

Mehdi Haghshenas
- 2,433
- 1
- 16
- 35
1
vote
0 answers
Are caches created by Angular Service Worker for data groups deleted after a software update?
I have a PWA that needs to download map data before going offline. I have created a data group to cache those resources with the NGSW, and I have created an initialization process to fetch all data that will be required when offline. The dataGroup…

Hodossy Szabolcs
- 1,598
- 3
- 18
- 34
1
vote
0 answers
Chrome lighthouse extension is returning 404 for existing routes
I am working on making an angular (9.1.4) app to be PWA. I'm using lighthouse chrome extension to check PWA features missing. But I'm facing a problem. Lighthouse works fine for the login page, it shows the page is PWA with the right mark. But after…

Frehiwot Talema
- 11
- 1
1
vote
0 answers
Service worker not working: "ChunkLoadError: Loading chunk 28 failed"
I'm not sure what I'm doing wrong. I'm using Ionic 5 with Angular 11. I have a service worker ngsw-config.json and a webmanifest. What are the correct steps to take to make my web app work offline? To clarify, I don't need to make any calls to an…

Furkan Öztürk
- 441
- 4
- 21
1
vote
1 answer
Service worker not working for custom domain on Azure Static Web App
I'm currently trying to get PWA functionality to work on an Angular App that's hosted on Azure Static Web Apps. I'm having an issue where the service worker is registered for the xx.azurestaticapps.net, but not for a custom domain I added.
Manifest
…

Thomas de Wulf
- 11
- 1
1
vote
1 answer
Angular PWA does not work when change to OFFLINE and press Refresh (F5)
I'm using angular to make PWA app.
Angular: 12
What is going on is:
I go to my app (online mode) -> The web app can display properly
Turn on developer console and change connectivity to OFFLINE
Press F5 to reload the application
What…

Redplane
- 2,971
- 4
- 30
- 59
1
vote
0 answers
Angular PWA always Failed to fetch when goes offline
I'm using angular PWA for my application.
I have followed this tutorial from angular official page.
My application can run and service work can be installed when I'm online.
However, when I switched my browser to offline mode, my application cannot…

Redplane
- 2,971
- 4
- 30
- 59
1
vote
0 answers
ngsw - angular service worker 504 error for document in Offline mode
Am using a angular application where i planned to use the angular /pwa ( ngsw ) for integration and when am loading service worker porperly registerd and i can see items in CacheStorage. But when am going offline am getting an error. I now this is…

Aji
- 423
- 8
- 23
1
vote
1 answer
Why did angular service worker isn't registered
I have added angular2 pwa to my project but when I try to build and start it with prod build for some reason service worker isn't working. Configuration seems to be proper, I've added and registered it in the main module…
user14412785
1
vote
0 answers
ASP.NET Core Angular PWA - Error: Uncaught (in promise): Error: Could not load settings for 'MyAppName'
I have developed an application on ASP.NET Core and Angular (with Identity for Authentication along with Roles). Used Visual Studio to generate ASP.NET Core and Angular models and scaffolding.
I added PWA support using Angular commands and now the…

Abubaker
- 103
- 11
1
vote
1 answer
Update Installed PWA target URL (or reinstall application with new target URL)
I have an internationalized angular web application with angular-i18n. With this system, angular creates a dedicated application for each language.
To provide multi-language on the web server, I have one url per language (mywebsite.com/en,…

Cheapfun
- 11
- 2
1
vote
1 answer
In Angular PWA How to Cache the API request( with paramter ) dynamically instead of manually adding each and every url in ngsw-config.json
I have some API like https://api-******y?apikey=sX4&q=london, Where q=london is a parameter that will keep changing, So how can i add this URL in the list of urls in ngsw-config.json file
"dataGroups": [
{
"name": "api-performance",
…

ASR
- 311
- 2
- 14
1
vote
2 answers
ionic as pwa with angular/pwa 404 not found
I have an ionic app that I use as a pwa, I have install @angular/pwa with ng add @angular/pwa then I run ionic build --prod and I upload all y www folder on my server but when I refresh a page I got 404 Not Found The requested URL was not found on…

Yann92
- 383
- 4
- 15
1
vote
0 answers
Angular service worker cache and non-deleting performance strategy
My app is designed to work offline, so I am using the freshness strategy. However, there are some areas that could be improved with caching while online.
I have specified that certain repeated calls to the API should use the performance strategy.…

MortimerCat
- 829
- 9
- 26
1
vote
1 answer
Angular Service Worker not Working for Navigation URLs (offline mode)
I have below Angular Service Worker config file, which seems to be working fine for the api requests and static contents, but for the navigation urls it's not hitting the cache. For example if I open, www.mydomain.com or www.mydomain.com/section or…

Naveed Ahmed
- 10,048
- 12
- 46
- 85