Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update Flutter PWA version?

When I publish new versions of my PWA created by Flutter web, the browser is not cached and doesn't show the new updates of PWA and reads the old cached.

like image 459
Taleb Avatar asked Aug 03 '26 07:08

Taleb


1 Answers

If your are using flutter 2.10 or later, when update version of your app in pubspec.yaml and build it serviceWorkerVersion will update your app automatically.

If browser cache your application you should refresh page once

like image 116
Jamalianpour Avatar answered Aug 08 '26 00:08

Jamalianpour



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!