question

Robin Walmsley avatar image
Robin Walmsley asked ·

How do we force a "Clear Cache" on a Station via the app ?

Our app is a webapp not an Android App. When we update the code, it is often necessary for the user to clear cache manually on the app, to force a refresh from the server. If there has been a database table change, it's often very necessary that this happens otherwise the app crashes.
Is there a way for us to force this refresh from the server using code?
I don't mind if this needs to happen in the Android app that envelops our webapp, or in the html/javascript of the webapp.
Any suggestions?
Clover Station
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Jeffrey Blattman avatar image
Jeffrey Blattman answered ·
This is just general programming advice... but periodically wiping your DB should be a last resort. Focus on root causing the crash. It's not a positive experience for merchants to see your app crashing sporadically and that's something we'd ask you to fix if it occurred.

Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community