Questions tagged [angular-pwa]
154 questions
0
votes
1 answer
service worker affecting non-GET requests when online - @angular/pwa
I added a service worker to my project, and the GET requests work perfectly online and offline.
but i have a problem with non-GET requests when online.
when i load the website using http-server (to activate the service worker),
it seems like the…

richard nelson
- 247
- 4
- 12
0
votes
1 answer
Clear a PWA's cache periodically using javascript
I need all of the users of my application(desktop and tablet users) to start everyday with an empty cache.
Is there any way I can take advantage of service workers to achieve this?
Has anybody ever tried to do this? Or do you think there's a better…

eddy
- 4,373
- 16
- 60
- 94
0
votes
3 answers
angular 7 pwa manifest dynamically
I have created a PWA with Angular 6.
Later I want to have different Icons and start Urls, since the app will be running under multiple urls (each account will be assigned a unique url and each of them have different logos). So I want to change the…

vDrews
- 155
- 5
- 14
0
votes
0 answers
Ionic 4 PWA - Can app be updated without deployment
Is it possible to update Ionic 4 progressive web app without deployment? For example, I wanted to just update a label change and I do not want to do a deployment so that customer does not have to reinstall the app.
I am at the moment using Cordova…

Sumesh Kuttan
- 1,333
- 1
- 17
- 40
0
votes
1 answer
Ionic's PWA Styles are not applied on iOS devices
My Progressive Web App I made with Ionic and Angular 8 looks nice on Chrome and Android devices.
But if I switch to an iOS device, the Styles are not applied correctly.
Buttons, Icons and the Titlebar-Font has wrong colors.
To make my App run i use…

Kevin Busch
- 191
- 1
- 4
- 17
0
votes
1 answer
Extend angular service worker (ngsw-worker.js)
I want to extend native service worker for angular pwa.
Task:
change all base fetched urls (called origin in sw)
It needs for mirrors - on url for all mirrors in sw.
I have tried to register custom sw via copy ngsw-worker.js and extend it,
but it…

Viktor Kolomiets
- 11
- 2
0
votes
1 answer
ionic link side menu item to external website
I am trying to link the side menu item to an external website, but it doesn't seem to work
Below is my code
{
title: 'Word of the Week',
url: '/word',
icon: './assets/sample-icons/side-menu/word.svg'
},
{
title: 'Facebook',
url:…

Vignesh Subramanian
- 7,161
- 14
- 87
- 150
0
votes
1 answer
How to update PWA home screen icon on desktop with Angular 8
I have a project with Angular and PWA. OS is Windows 10. The angular core version is 8.2.14 and pwa version is 0.803.19. The manifest file is
{
"name": "App Name",
"short_name": "App Name",
"theme_color": "#313643",
…

Алексей
- 31
- 1
- 6
0
votes
1 answer
Angular service worker not running on system IP address
I am implementing the Push notifaication in my application with the help of Article =
https://medium.com/@arjenbrandenburgh/angulars-pwa-swpush-and-swupdate-15a7e5c154ac
I am using Angular version7 and using => SwPush from '@angular/service-worker'…

Er Vipin Sharma
- 2,519
- 8
- 22
- 32
0
votes
1 answer
How to query PWA offline state to inform user
I try to make a angular 8 PWA app. So far so good, The cache is working in offline mode both for static resources and APIs.
But I'd like to inform the user about the offline state and let them know that the information displayed (API) is not…

Hudgi
- 518
- 2
- 6
- 22
0
votes
1 answer
Angular CLI service worker error on stratup
I started new Angular 8 project with those specs:
Angular CLI: 8.0.4
Node: 10.16.0
OS: darwin x64
Angular: 8.0.2
Angular PWA:
ng add @angular/pwa
package.json
"dependencies": {
"@angular/animations": "~8.0.1",
"@angular/common":…

Mike Kylmä Lampi
- 465
- 1
- 5
- 15
0
votes
1 answer
Deployment of Angular 7 PWA application in Tomcat Apache production server
I've created an Angular PWA application and built it by running: ng build --prod.
It has built the production ready application successfully.
I've ran the built application in local by running command: http-server -o, It was running as…

Vinay Nvd
- 65
- 5
0
votes
0 answers
facing problem on adding Angular PWA application to home screen
I am working on Angular 7 Application where I have implimentd pwa to it
But I am unable to make my Progressive Web Apps – Offline And Add To Home Screen

Anurag Ranjan
- 169
- 1
- 2
- 9
0
votes
1 answer
Angular PWA Regenerate Manifest
According the the Angular docs here https://angular.io/guide/service-worker-config I can run this command
ngsw-config dist src/ngsw-config.json /base/href
And the CLI should regenerate my service worker manifest.
However it doesn't work I just get…

Lenny D
- 1,734
- 4
- 22
- 43
0
votes
1 answer
How to prevent Angular service worker to cache PDF file?
I have an Angular 7 application with service worker setup. But I just noticed that when I try to open a PDF link on my site they are not working.
But if I open the developer console > application and click on Bypass for network it works fine, also…

Ennio
- 1,147
- 2
- 17
- 34