Refresh clear cache ionic 4 app running in phone browser

we have a ionic app that is accessed by uses in their phone browser. The app is deployed using the option
ionic cordova build browser and resulting dir to a host server.

We want to add the ability for users to notify in real time and let them refresh by clicking a button whenever the ionic app is updated.

we are able to implement the ability to notify in realtime when new version is available but are not sure how to ensure that when user click a button to refresh the app then it should refresh ensuring it reliably can fetch the latest version.

If that does not happen then user will keep seeing notification for updating the app but they wont be. So, what is the reliable way to make sure that they could get latest uncached version.