Questions tagged [angular-pwa]

154 questions
3
votes
1 answer

Angular PWA Offline data handling

in recent days I've started hearing about service workers which are cool. I want to implement the service workers in my angular project to make my web app completely works offline which means the user should handle the data as much in offline and…
2
votes
2 answers

Service Worker is not being registered in my Angular App

I developed an app using angular 11 for frontend and Spring Boot for backend, now i need to configure it as PWA (Progressive Web App), so i did a research on angular official page and forums so i found out that using the simple command ng add…
Erick Finn
  • 141
  • 7
2
votes
1 answer

No matching service worker detected - Angular 9

this is my first time working with service workers and I am having difficulties because I always get this error in the Network - Application - Manifest tab: Some technical details: package.json "@angular/animations": "~9.1.0", "@angular/common":…
2
votes
1 answer

How do I access the image gallery from a PWA

I need to know how to access the image gallery from a PWA. Currently the PWA will allow me to take pics and upload those on a mobile device but it won't let me access the image gallery and select images. On an actual desktop I can access the image…
D.Hodges
  • 1,794
  • 4
  • 24
  • 47
2
votes
1 answer

Is outputHashing useful in Angular with PWA enabled?

Output-hashing in Angular prevents version inconsistencies between parts of the application when browser or proxy cache is active. With PWA, same is achieved with Service-Worker and ngsw.json which is also based on hashes. Are there any scenarios…
Vilmantas Baranauskas
  • 6,596
  • 3
  • 38
  • 50
2
votes
1 answer

Does Angular Service Worker clear previous version's cache?

Overview I am noticing that with every new version of my application the cache size grows considerably because the Angular Service worker is keeping the previous versions of the application in cache? Is it expected that the Angular Service worker…
Rusty
  • 109
  • 1
  • 9
2
votes
1 answer

Angular PWA on a NestJS server crashes after new deployment

I am running an Angular PWA (version 11) on a NestJS (version 7) server. After every new deployment, the PWA crashes because the browser tries to load a JavaScript file which is not there anymore and the server redirects to the root site…
Thomas
  • 225
  • 5
  • 13
2
votes
0 answers

Angular: How go to have multiple PWA app under same domain

I am facing a big problem since last one week. I am working with Angular app which have one feature like create Business Card with url dedicated. Example is given below. mysite.com (main site) mysite.com/card1 (card1) mysite.com/card2 (card2) So how…
Pushprajsinh Chudasama
  • 7,772
  • 4
  • 20
  • 43
2
votes
0 answers

Exclude some api calls from service workers angular 6

I have an app running as pwa built on angular 6, Now I need to exclude some api calls serving from service worker. These are the api calls i need to exclude…
Prats
  • 1,745
  • 4
  • 24
  • 28
2
votes
1 answer

Angular PWA - New route is not working until users updates the application

Currently, I am having an Angular application with PWA and whenever I add a new route let' say (http://www.something.com/child/childurl) to my application and deploy, and when the users directly open this URL, it always goes to default one where I…
Mahesh G
  • 1,226
  • 4
  • 30
  • 57
2
votes
0 answers

I am working in PWA application and I want some printing of a table directly to printer

I am working in the PWA application and I want some printing of a table directly to the printer. My application is on Angular6 PWA and backend is node js. Can anyone help on this? I don`t want window.print() to print through the browser.
2
votes
2 answers

Angular PWA adding background sync without WorkBox

So my question is simple: Is there background sync when using Angular PWA. For certain reasons, I cannot use WorkBox. The only info I have found is: https://github.com/angular/angular/issues/22145 Which is currently still open. Are there any…
2
votes
1 answer

Service worker slower than network calls in PWA?

Can PWA based cache calls be slower than Network calls? This is what I saw in one of the web app, for a JSON resource: Cache cleared and called from service : 426 ms Called from Service worker(in dev tools / network size it is mentioned from…
sij
  • 1,307
  • 7
  • 18
  • 35
2
votes
1 answer

Building application with PWA

I have problem with situaton: when I use the command ng serve --prod to Service Worker is registered when I use the command ng build --prod to Service Worker is NOT registered. Missing files in dist files ngsw
2
votes
0 answers

Angular PWA : caching configuration json

I want to active PWA I success to cache all assets but configuration JSON not caching so my app didn't work correctly in offline mode FYI: I try this in real server with https but the same results so I work in virtual…
1 2
3
10 11