I use custom flutter localization with an en.json
file that contains all of application strings, but after deploying web application for the first time, flutter service worker caches en.json
and it'll use the first cached en.json
for all of the next deploys which causes new Text
widgets that have new strings (that are not in the first en.json
) fail assertion data != null
.
Is there a way to force flutter web app to update cached assets after each deploy?
This problem is resolved in newer version of flutter.