Android update check

Morten Slott Hansen's Avatar

Morten Slott Hansen

28 Mar, 2012 09:04 AM

Hi,
If the app detects that a new version is available it shows a dialog. However if I delete or change the update to non downloadable the dialog keeps showing. If I continue to download it then detects there is no download and the dialog stops.

This is a minor problem but non the less a problem that would be nice to have fixed.

  1. Support Staff 2 Posted by Thomas Dohmke on 28 Mar, 2012 01:44 PM

    Thomas Dohmke's Avatar

    Hi Morten,

    the reason for this is that the JSON response is cached:
    https://github.com/codenauts/HockeySDK-Android/blob/develop/src/mai...

    I have on my to-do list to implement some mechanism to expire the cache. In the meantime, you could modify your copy of CheckUpdateTask.java und return false in the method getCachingEnabled:
    https://github.com/codenauts/HockeySDK-Android/blob/develop/src/mai...

    Kind regards,

    Thomas

  2. Morten Slott Hansen closed this discussion on 23 Apr, 2012 12:33 PM.

Comments are currently closed for this discussion. You can start a new one.