Questions tagged [angular-pwa]
154 questions
12
votes
1 answer
Can I use web-bluetooth to connect with devices with regular BT, NOT BLE?
I want to build a PWA with capability to connect with "regular" bluetooth, not with Bluetooth Low Energy (BLE). Is that possible ?

tessarini
- 142
- 1
- 10
12
votes
3 answers
iOS Standalone PWA input capture
I think we found a regression in iOS 13.2/13.3 in regard to PWAs running in standalone mode.
Since on iOS PWA cannot access getUserMedia() we rely on the capture attribute on the HTML5 input tag to let the user take a picture and send it to a…

elbuild
- 4,869
- 4
- 24
- 31
9
votes
0 answers
How to store camera permission in ios PWA?
I have created an application using angular PWA and it has a barcode scan functionality. It's working fine in ios but the problem is that every time use comes on this page it's asking for camera permission each time even if the user gave it once,…

Sanket Vagadiya
- 91
- 5
9
votes
4 answers
NullInjectorError: No provider for SwUpdate! SwUpdate does not work Angular 5
Now I know there are a million posts about No Provider for such and such service, I know it needs to go in the providers please read my entire post.
Basically I am trying to use SwUpdate to check to see if there is an update if so, refresh the…

Smokey Dawson
- 8,827
- 19
- 77
- 152
7
votes
0 answers
Angular pwa, how can I make http-server (running on localhost:8080) to work with a nodejs server running on localhost:3333?
When I serve the web-app on port 3330, I can make the webapp working on port 3333 using --proxy ./src/proxy.config.json, but I don't know how to make http-server to make to work at the same way
"start": "ng serve -o --port 3330 --watch…

Donovant
- 3,091
- 8
- 40
- 68
7
votes
2 answers
Angular service worker with @angular/pwa package showing `HTTP error 504` when offline
I am working on an angular PWA application. So I added an npm package by ng add @angular/pwa. It is added successfully with no errors.
The generated Manifest is working fine. But I am facing issues with the service worker. When the application goes…

Alok Mali
- 2,821
- 2
- 16
- 32
7
votes
1 answer
Angular 7 PWA + Azure Functions Gateway Timeout 504 only with Https
So the title pretty much says it all!
I have an Angular 7 app compiled as PWA my package.json is below. My backend api is written in AzureFunctions V2.
"dependencies": {
"@angular-devkit/core": "^7.0.5",
"@angular/animations": "^7.0.3",
…

Lenny D
- 1,734
- 4
- 22
- 43
6
votes
2 answers
Angular PWA missing ngsw.json and ngsw-worker file
I have a problem with @angular/pwa. when I am building in production mode I am not getting ngsw-worker.js and ngsw.json files in my dist folder.
the pwa version am using is:
@angular/pwa: ^0.13.8
@angular/service-worker: ~7.1.0
@angular version…

VinoPravin
- 947
- 3
- 17
- 32
6
votes
2 answers
How to intercept app install prompt in Angular PWA?
I have created a PWA using Angular guidelines. I am facing problem intercepting the app install banner. I am using this code to defer it to a later point:
let deferredPrompt;
window.addEventListener('beforeinstallprompt', (e) => {
// Prevent…

Outsider
- 1,166
- 1
- 14
- 27
6
votes
2 answers
Universal Server Side Rendering stops Rendering Content after Installing PWA in Angular 6.0.3
I've built a simple Angular 6 application and integrated Universal into it by following this tutorial: Angular Universal Tutorial
Link to GitHub repo that I created: Angular Universal SSR GitHub Repo
Universal SSR is working great, it renders…

Csaba
- 1,945
- 3
- 28
- 46
5
votes
0 answers
Handle Angular PWA excessive cache size
I'm working on an Angular application which primarily deals with documents (PDFs).
To make the experience smoother for our users, we've implemented the following service worker cache settings, which cache certain endpoints that handle these PDFs and…

jarodsmk
- 1,876
- 2
- 21
- 40
5
votes
3 answers
ngsw.json?ngsw-cache-bust failing in offline mode of Angular 8 PWA application
I am facing an issue with the service worker. The service worker is not registering on its own through the app.module. So I am manually registering it in main.ts. It works fine in online mode. But when I change the network to offline mode, getting…

user3036042
- 95
- 1
- 4
5
votes
1 answer
Strange Angular PWA Service worker behaviour when deployed
This issue has taken up all my day, and I can't figure out whats going on
I can see that my service worker is registered , however "sometimes" when I click offline in developer tools the ServiceWorker for my domain just disappears!!
But this is the…

Lenny D
- 1,734
- 4
- 22
- 43
5
votes
1 answer
Why lighthouse plugin doesn't recognize service-worker in Angular 6 app?
I used the Angular 6 CLI to generate and register the service-worker in the application, when I manually enable offline mode, the service-worker job is correct, but as soon as I try to audit using the lighthouse, it tells me that the service worker…

Konstantin Kudelko
- 350
- 3
- 12
4
votes
0 answers
PWA, Firebase and Google login: Unable to process request
I'm trying to make a PWA app for android out of my existing Angular app, where I use Firebase authentication (Google login - Sign in with popup). Everything works fine on my web app, but when I try to sign in on PWA on android, I can't login with…

Coding Glass
- 137
- 1
- 7