How exactly did you force a full refresh when the user clicks the button? In my case some devices (especially iOS) cache old versions of my app for month without refreshing. So when the backend API changes there are errors. What I'm looking to do is to fetch the latest version from the API via request upon load and if it doesn't match the one the device has 1) clear all cached files and 2) clear the data stored in localstorage.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Toni Engelhardt
Toni Engelhardt

Written by Toni Engelhardt

Software Engineer with background in Science and Space Technology

No responses yet

Write a response