Questions tagged [progressive-web-apps]

A cutting-edge web application offers users a seamless, app-like experience that is easy to navigate. This type of application utilizes the latest web technologies and is accessible through the internet, eventually becoming integrated into the user's system as an independent application.

Icon not appearing for push notifications on PWA using Firebase in ReactJS

I have successfully developed a PWA application using ReactJS and integrated Firebase Cloud Messaging for push notifications on devices. After installing my PWA on my Android phone, I am able to receive the correct push notifications. However, I am facing ...

Do I need to open Chrome if I want to switch web notifications to Android TWA?

Through the use of TWA technology, we were able to create an Android app that can open a PWA page without displaying an Address bar. Unfortunately, this setup presented a challenge. The absence of the Address bar made it difficult to switch web Push Noti ...

Can anyone provide guidance on setting up a TypeScript service worker in Vue 3 using the vite-plugin-pwa extension?

I am looking to develop a single-page application that can be accessed offline. To achieve this, I have decided to implement a PWA Service Worker in my Vue webapp using TypeScript and Workbox. I found useful examples and guidance on how to do this at . Ho ...

What are some ways I can utilize session and cookies for express when using express.static('static')?

Exploring the realm of session cookies in web development, specifically with an Express backend and a Vue PWA/SPA mounted on static files via express.use(express.static('static'));. Through some research, I discovered that we can include options ...

Discover the process of integrating PWA features into an Express web application

I'm currently in the process of integrating PWA into a web application. I've created a manifest.json file and added it to the head of my page, which is loading correctly. However, the service worker registered in my app.js doesn't seem to be functioning as ...

Enabling PWA through vite-plugin-pwa in Nuxt is currently not supported

After setting up my application with the VitePWA module and following the documentation, adding icons, and including the <NuxtPwaManifest> tag in app.vue, I noticed that when running npm run dev, my PWA doesn't run in Chrome Browser. Did I overl ...

Best location for Angular PWA update handler?

Running a PWA app led me to think about decluttering the application.component. To achieve this, I created a dedicated service to monitor PWA updates and alert the user: import { Injectable } from '@angular/core'; import { MatSnackBar } from &qu ...

Developing a personalized Magento2 extension with added support for PWA technologies

Greetings, fellow developers! I find myself at a crossroads when it comes to PWA and custom Magento 2 extensions. As a backend developer for Magento, my knowledge of PWA frontend implementation is lacking. Currently, I am in the process of developing an SE ...

What is the method for opening the image gallery in a Progressive Web App (PWA)?

I am struggling to figure out how to access the image gallery from a Progressive Web App (PWA). The PWA allows me to take pictures and upload them on a desktop, but when it comes to a mobile device, I can only access the camera to take photos. I have tried ...

Encountered an error when attempting to load resource: net::ERR_CERT_AUTHORITY_INVALID following deployment on Vercel

I recently deployed a chatUI-app on Vercel that fetches chats from an API located at "http://3.111.128.67/assignment/chat?page=0" While the app worked perfectly in development, I encountered an issue after deploying it on Vercel where it ...

Ionic app: refresher functionality works in browser but not on iOS home screen app

I am currently developing a Progressive Web App (PWA) using Ionic, and I have implemented an ion-refresher in the app: <ion-content> <ion-refresher slot="fixed" (ionRefresh)="refresh()"> <ion-refresher-content pullingIcon="lines">& ...

The functionality of Angular 9 Service Worker appears to be inhibited when hosting the site from a S3 Static Website

I created a Progressive Web Application (PWA) following these steps: Started a new Angular app using CLI 9.1.8; Added PWA support by referring to the documentation at https://angular.io/guide/service-worker-getting-started; Built it with ng build --prod; ...

Initializing bubble wrap throws an error -bash: bubblewrap: command not found

I'm currently in the process of building a Progressive Web App (PWA) and I've been following a tutorial on how to create a Trusted Web Activity (TWA) from this specific source. The command npm i -g @bubblewrap/cli executed without any issues. However, when ...

Best Practices for Implementing Periodic Background Sync in Next.js PWAs

I am in the process of creating a Next.js progressive web app (PWA) and I'm exploring the implementation of a periodic background sync. To set up this periodic background sync, I need to utilize a registration code similar to the following: // Check if ser ...

Vue Progressive Web App pre-caching routes for improved performance

Seeking guidance to ensure I'm on the right track. I've developed a simple web application using Vue CLI with PWA support. Everything appears to be functioning properly, including the install prompt. My objective is to cache certain pages (route ...

Can Javascript (PWA) be used to detect fake GPS or mock GPS in applications?

Looking for a solution to prevent users from using Fake Location tools in my PWA application that gathers absence location data. Is there a method or package in JavaScript to detect the presence of Fake GPS installed on the device? ...

PWA JavaScript struggling with GPS geolocation coordinates

I am experiencing issues with the GPS coordinates being stuck when using geolocation in a Progressive Web App (PWA). Sometimes, the coordinates get stuck at the previous location, even if the user has moved since then. I suspect that this is due to the GP ...

Is Mobile Safari causing issues with React PWA when uploading images?

We were surprised by the lack of information online regarding this issue, so we are reaching out here in hopes of finding a solution. When using an iPhone with mobile safari, we encountered a problem while running two simple tests. One test works fine, wh ...

What is the best way to utilize a negative glob pattern?

After our build process completes, we end up with both e2015 and es5 bundles. For example, in the dist directory, you will find files like these: /common-es2015.7765e11579e6bbced8e8.js /common-es5.7765e11579e6bbced8e8.js /custom.js We are trying to set u ...

The Angular Progressive Web App functions properly in ng serve mode, but encounters issues when running with http-server

I'm developing a Progressive Web App (PWA) using Angular. Everything was functioning smoothly until out of nowhere, I started encountering a 404 Error whenever I tried to navigate to a new component while serving in dist/project with http-server. Surp ...

Next.js with Express Application Deployment to Elastic Beanstalk: Troubleshooting Error 502

I am encountering persistent 502 Bad Gateway errors while attempting to deploy a next.js application using express to Electric Beanstalk. 2020/03/02 15:26:28 [error] 8286#0: *172 connect() failed (111: Connection refused) while connecting to upstream, ...

Service workers do not support fetching from .html files

Struggling with creating a functioning service worker for offline use has been a challenge. Despite trying numerous examples, the success has remained elusive. Initially, I suspected that the dynamic nature of my PHP-based website was causing the issue, or ...

Error encountered while trying to import the Turborepo UI package into Next.js: It appears that an appropriate loader may be required

Currently, I am working on a project using next.js 13.1.1 and setting up a monoRepo-based project with turborepo for the first time. My goal is to incorporate: @next/bundle-analyzer @sentry/nextjs @next-pwa When these configurations are not used, everyth ...

HammerJS swipe functionality does not seem to be functioning properly on elements that have the overflow CSS

UPDATE: The code snippet works smoothly when embedded in the question, but encounters issues when edited. This led me to discover that the problem lies with underlying containers that require scrolling... After testing it on my phone, I found that Hammer f ...

Challenges arise with the safari navigation bar within a PWA platform

Struggling with the formatting and spacing issues of a PWA application on IOS devices due to notches and navbar heights. One specific problem is that a chat input with absolute positioning and bottom: 0 does not display properly in Safari because of the n ...

Guide to renewing the service worker using next-pwa

I have integrated the next-pwa package into my next.js application for PWA functionalities. However, I am encountering a problem where the service worker does not re-register after rebuilding and redeploying the application. This results in outdated data ...

The PWA software encountered an issue where the checkForUpdate function never resolved

Despite my efforts, I have encountered an issue while working with the PWA for our application. The checkForUpdate and versionUpdates methods do not seem to resolve to any values. constructor( appRef: ApplicationRef, updates: SwUpdate, ) { ...

Issue with form using "target=_blank" to open PDF in web application home screen not functioning properly

I am encountering an issue in my Angular application where a form with target="_blank" successfully returns a PDF upon submission, but when accessed from the homescreen icon of the web-app in Android/Chrome, the new window opens blank without displaying th ...

Creating an installation-ready Progressive Web App with Vue.js: A step-by-step guide

I am looking to add the functionality of installing my Vue app as a PWA in Chrome or Firefox with the click of a button. <button @click="install">install</button> var deferredPrompt methods: { install() { deferredPrompt.promp ...

Is the Vue Vite PWA plugin failing to implement runtime caching for APIs?

After adding the PWA plugin to my Vuejs project with Vite, I successfully precached the assets. However, I encountered an issue when trying to implement runtime caching for API requests. Despite setting up the configuration, the runtime cache file doesn't ...

Prevent multiple instances of Home screen app on iOS with PWA

There seems to be an issue with the PWA app not functioning properly on iOS devices. Unlike Android, where adding an app to your homescreen will prompt a message saying it's already installed, iOS allows users to add the app multiple times which is no ...

next-pwa is failing to generate service worker files

I've been working on a project using react.js and next.js, and I recently decided to turn it into a PWA app by implementing next-pwa. Following the instructions provided in the pwa-next docs, when I try running npm run build, no workbox-*.js or sw.js ...

steps to create a personalized installation button for PWA

Looking to incorporate a customized install button for my progressive web app directly on the site. I've researched various articles and attempted their solutions, which involve using beforeinstallprompt. let deferredPrompt; window.addEventListener(& ...