How do I uninstall a PWA with related files in Android Chrome browser - progressive-web-apps

When we install pwa then it will create some cookies as per our requirement and we can use that cookies for some references. After some time when user unintsall the pwa then its necessary that there will be delete the pwa files of cookies and also some local storage data from index db

in android long press icon of app then drag up to the "Remove" on the top center of the screen
How do I uninstall a PWA in Android Chrome browser

Related

Where are PWA files stored when cached for offline use?

I have a PWA that caches the app for offline use. Where are the files stored when you install the PWA and how do I locate them?
The browser stores these files for you. You can browse them via DevTools.
In Chrome you find them under DevTools => Application Tab => Cache
But I don't think you can locate them via file browser.

Will progressive web apps run on Amazon Fire 7?

I have a kindle fire 7, Android 5.1.1 with the latest Chrome installed (v84). I wrote a simple PWA (progressive web app) template, and also have tried some known sites that have progressive web apps, but I never get that install button to render in Chrome, meaning apparently the beforeinstallprompt even is never fired, although I know that the sites are valid PWA sites since they are installable in the desktop version of Chrome.
Is there an android or chrome setting that I can tweak to be able to install the PWA on the kindle fire?

Unable to trigger Windows desktop icon install of pwa (progressive web app), using a tested manifest which works on mobile

PWA works fine on mobile browsers. It does not trigger an icon install on windows desktops. also is there a way to link to the windows store app from the pwa ?

I want to update the existing logo for my PWA app

When I am updating the logo of the PWA app the icon is not getting updated for the previously installed applications. However for newly installed apps I am getting the correct logo.
Did you try updating the new image icon in manifest.json & then showing a prompt to users to refresh the PWA?
You can try to have a look at the documentation for Android APK (from the question is not clear your target device: web or mobile).
Chrome will periodically compare the locally installed manifest against a copy of the manifest fetched from the network. If any of the properties in the manifest required to add the PWA to the home screen have changed in the network copy, Chrome will request an updated WebAPK, reflecting those new values.
This feature is not yet available for desktop, but planned in a future release.
Do you use any framework (Angular, React) to build your PWA? If you want to read more details about how to install an app on the homescreen or the web manifest properties, you can have a look here.

Uninstalling PWA for development testing (windows)

I installed my PWA on windows through developer's console, and now can't uninstall it to test installing it. I've tried removing service worker from chrome, but it will just get reregistered after I open the PWA through windows (if server is on). When I right click on it and choose uninstall it takes me to windows app and features there's no entry for it, meanwhile the actual shortcut for it surely just leads to chrome with app ID in URL. Trying to install the PWA after everything I've tried will not give me the prompt again to add it to homescreen.
url: makpal.now.sh
screen:
The PWA apps reside in apps menu chrome://apps/ of chrome, and quite possibly exclusively under a different tab (a grayish second bar at the bottom of window), which is where you'd get the option to delete them that works.
EASY STEPS to Remove (uninstall) PWA App on Desktop:
1) Open Chrome Browser
2) Click > Apps button
3) Right click > App you want to remove
4) Select > Remove from Chrome... > Remove.
5) App gone. :)
On Mobile: drag to trashcan.
If you installed PWA using chrome then paste below in chrome URL bar and hit enter:
chrome://apps
Right click on desired app and click remove from chrome
Found the list of PWAs here.
C:\Users\{username}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Chrome-Apps
You can delete them from there.
If you have installed to Windows OS using developer console, I assume you have done it using the Chrome menu -> "Install to desktop" (if it comes as "add to desktop, it means your site is not meeting minimum PWA cirteria).
If you have installed in any other way, please be specific on what option you have used. It also contradicts at the end of your question, where you were complaining on "Install prompt" is not coming again for "add to home screen". From all I know, install prompt is not supported in Chrome for Windows yet(I know it works in Chrome for Android).
On your other question on service worker getting re-registered every time you visit, that's how they are supposed to work. They will get registered even if you visit a PWA site(adding to home screen is not needed, it will still register service worker and you get all caching benefits)
You can test all these PWA behaviors for this PWA compliant site -> https://pwa.rocks/
If you need more clarity, please rephrase your question to what exactly is happening and what use case is failing, along with supporting code. A link your your site will be best to debug for the community, if that's publicly available.
The Most useful answer I found: (for chrome)
Open Chrome and go to apps
Right click the PWA you want to remove
Click on "Remove from Chrome..."
I faced the same issue when I was built my first PWA and then when I Open anything else with live server it directed me to my PWA site.
You can also go to you windows control panel \ programs then uninstall from there. ( Referring to the PWA that you installed, not uninstalling the browser )