Clearing Android/IOS device caches via API call

How to clean caches on clients device ?( a user's android/ios device) The user sees an old image even if the new code is deployed, New images are visible only if a user manually clear his LINE App caches via Settings > Apps

Is there any API in the sdk that clears caches on user device?

  • 0
  • 1
  • 1836
  • twitter facebook

It seems we can't clear the Caches on a cleint end.

From Documentation "if we had a base URL of https://example.com/images/cats, the URL for the image with a width of 700px would be https://example.com/images/cats/700. To confirm all images display properly, access the image URLs."

Here the content of the URL https://example.com/images/cats/700 has been cached by a user's phone So the workaround is rename the folder name cats to cats_v1.1 which creates a new URL "https://example.com/images/cats_v1.1/700" there by displaying the latest images

  • 1

Similar posts

    No similar posts

Are you sure? question.vm