Questions tagged [angular-pwa]

154 questions
0
votes
0 answers

angular service worker caching every request no matter what even i'm hard reloading still it caching every request which not even in config urls

why my every request is being cached when even did't mentioned anything about whose api address to get cached, It seems like the ngsw-worker.js is not following the ngsw.json configs image 1 => here is the first image of api which is everytime being…
0
votes
0 answers

Angular 15: Project is not defined in this workspace while adding angular pwa

I was adding angular/pwa in my project built in Angular 15 by running the below command, ng add @angular/pwa --project Result, What is this error?
rohithpoya
  • 865
  • 7
  • 20
0
votes
1 answer

Debug Angular build in Visual Studio Code

Since I'm developing a PWA app with angular, I use a watched build that always rebuilds my code if I change anything: ng build --output-path dist --watch That works fine. I can also run a lite-server via command line to run the build results from…
Konrad
  • 4,329
  • 10
  • 54
  • 88
0
votes
0 answers

PWA + redirection in routes cause 404 error

I have a simple app with routing functionality which has a redirection: const routes: Routes = [ { path: '', redirectTo: 'orders', pathMatch: 'full' }, { path: 'orders', component: OrdersComponent }, ]; The…
Ilya Loskutov
  • 1,967
  • 2
  • 20
  • 34
0
votes
1 answer

Disable all service workers if not in pwa mode

We have an angular webapp which should work offline only if used as standalone web app (pwa), but not in the "normal" browser mode. Only very few users need the offline feature, but when angular pwa is enabled, all users will get the "last cached"…
Nico
  • 1
  • 2
0
votes
1 answer

Mobile phone, share image still in buffer

On mobile phone I want to provide image share using Javascript navigate.share() method This interface requires a list of files for attachment as explained here In the share files example, the interface requires the user to select a file, however,…
0
votes
0 answers

How to create a PWA for an Angular project?

I've an Angular application that is configured as a PWA. It all works wonderfully. Now, however, I have created a project that runs independently as a "sub-app" via ng new app2 --create-application false This should also be "PWA enabled". But how…
Lars
  • 920
  • 1
  • 14
  • 34
0
votes
0 answers

Set notification in the Angular PWA and receive it in given time

I am trying to do a notification in my Angular PWA and haven't found anything close to my use case. Users of the app should have the option to set a notification for a BUS departure at a given time; for example, 10 minutes before the departure, I…
0
votes
0 answers

Offline mode is not working when the application is deployed in the cloud environment

We have deployed our Spartacus PWA application in the cloud envrionment and the deployed js storefront is working perfectly fine. But, the offline mode is not working. We have some pure angular routing pages (not communication with commerce) and we…
0
votes
0 answers

Open installed Angular PWA freshly in offline mode

We have a SAP Spartacus PWA application and have some requirements to work some portions of this application in offline mode. Below are the issues: The offline mode is working partially. like if a page/component is visited first and revisit then…
0
votes
0 answers

Enabling Service Worker for a sub-path

Given a website that is partly public and partly an internal web application, the goal is to enable a service worker (and PWA) only for the internal routes, but not register it for the public ones. We have: https://example.com - Public…
El Mac
  • 3,256
  • 7
  • 38
  • 58
0
votes
0 answers

Angular PWA Update Service prompts multiple times

I have the following service injected, assisting in prompting the user to update once my PWA Angular application has been deployed on an environment. However, it looks as if it prompts the users multiple times to update, leading them to do the…
jarodsmk
  • 1,876
  • 2
  • 21
  • 40
0
votes
0 answers

Angular PWA has issues updating when not root

I have a series of websites that are independent websites, that I want to use the angular PWA features for. The navigation urls are somedomain.com/c/index.html, somedomain/a/index.html and so forth. I am running in production, with HTTPS, and the…
marbletravis
  • 135
  • 1
  • 8
0
votes
1 answer

Is screen recording feature supported in PWA for mobile?

I have a requirement to develop an app whose requirement is to record the screen of mobile. According to https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API/Using_Screen_Capture, we can't record mobile screen. Since, I am native app…
0
votes
0 answers

PWA service worker: ignoreSearch is super slow in Chrome browser

After I turned ignoreSearch on in a service worker data group, my pwa became unusable every image took a second when using the Chrome browser, not cool for a gallery! Search parameters contain SAS token. Is it possible in a data group that the path…