Questions tagged [angular-pwa]

154 questions
0
votes
0 answers

Angular Pwa execute requests twice

I have the following problem I have a pwa with angular and I have a problem when I call the backend, when calling a backend route it does it twice and I can't find the solution My ngs-config.json "$schema":…
Ema
  • 27
  • 5
0
votes
1 answer

How to prevent push notification when app is open in angular using PwPush

I am using PwPush to push notification from server to desktop. Now if my angular app is already open in chrome I don't want to see push notification instead I just want to update UI. Right now I only get push notification even if app is open or…
0
votes
0 answers

How to make the web app work completely offline using angular pwa?

I referred to many documents and articles also implemented them to make the PWA work offline. That is, it should save the data offline and when it is connected to the internet the app should store all the data in the server database. I have created…
0
votes
0 answers

How can I close a PWA App in Angular using hardware back button?

I'm developing a PWA App with Angular, and I've seen that when I install the app and then start using it, if I press the hardware back button it starts to return over the history, but I would like to be able to close all the app when the user is in…
0
votes
0 answers

Angular service worker asset's "Prefetch" status

I have been trying to implement angular PWA and have setup the config file as below: { "index": "/index.html", "assetGroups": [ { "name": "app", "installMode": "prefetch", "resources": { "files": [ …
Atul Stha
  • 1,404
  • 8
  • 23
  • 46
0
votes
1 answer

Angular Pwa not refreshing html on installed app

I've an Angular PWA with refreshing problem. I have a TAB disabled. Now on the code i set this tab to enabled and build the solution and deployed on the webspace.
0
votes
1 answer

Serving Angular PWA from Azure Web App (Linux) fails on missing .webmanifest

There are number of questions about the same issue, but the solutions to those are specific to IIS: we are hosting in Azure Web App Linux instance and are using Kestrel (ASP.Net Core 3.1) as the web server. After setting up Angular PWA and deploying…
Superman.Lopez
  • 1,332
  • 2
  • 11
  • 38
0
votes
0 answers

How do I access photos on a device with a PWA?

As a result of Apple rejecting my app I've had to turn it into a PWA and I'm having issues implementing some functionality. I'm unable to access images now...I was initially using image picker but that obviously won't work now. Here is the error…
0
votes
0 answers

How does I return to angular build before service worker?

I am having a problem after I install and try uninstall service worker. before that after I build the project the file index.html and assets folder was generated. after I uninstall the @angular/service-worker, demove the ServiceWorkwer mode of…
Flavio Silva
  • 17
  • 1
  • 3
0
votes
1 answer

How to do I make sure that socket.io does not close connections when the app is in background in a Angular PWA

socket.on('new-notification', function(data) { let room_id = data.room_id; var receiver_id = data.receiver_id; var booking_request_id = data.booking_request_id; var message = { to: notification_payload, collapse_key: 'green', …
0
votes
1 answer

@angular/pwa - How to customize my webmanifest

I have an angular pwa (angular 11.2.8) and I usually generate my production code with ng build --prod in the dist folder, i can locate the pwa manifest.webmanifest file now: I need to change two settings of the manifest file (scope and start url)…
0
votes
0 answers

Asp mvc 5 angular 9 relative path issue with pwa in subdirectory

I have an Asp mvc 5 site with angular9. My angular 9 is built into /Scripts/angularDist directory. { "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "App": { …
JustLearning
  • 3,164
  • 3
  • 35
  • 52
0
votes
1 answer

Set dynamic PWA base routing in Angular 8

I am developing an Angular PWA App. Below is my requirements. Example: I have https://localhost.com website. So my PWA is taking me to this url after showing me the splash screen. According to my requirements it should directly open…
Pushprajsinh Chudasama
  • 7,772
  • 4
  • 20
  • 43
0
votes
0 answers

When i am trying to install @angular/pwa. Using ng add @angular/pwa. It shows me this error

An unhandled exception occurred: ENOENT: no such file or directory, lstat 'C:\Users\Kevin Shah\AppData\Local\Temp;C:' Fatal error writing debug log file: ENOENT: no such file or directory, lstat 'C:\Users\Kevin Shah\AppData\Local\Temp;C:' Error:…
0
votes
0 answers

Angular PWA offline data-entry and insertion into database

I have an angular app connected to nodejs api. I need the app to work as pwa and the user can fill forms offline. Whenever user comes under internet the form data shoud be inserted into database without need of authentication. How do I achieve…
JayEm
  • 3
  • 1
  • 3