lazydroid / auto-update-apk-client

Android Java Client for Automatic .APK Update Service
http://auto-update-apk.com
89 stars 50 forks source link

Periodic update does not run #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the periodic update is scheduled after a connectivity change 
broadcast is received. This leads to situations when the periodic update is not 
run at all.

I have refactored the code, so when the updater is created is checks for update 
(without force), checks for connection and registers periodic update if 
necessary. If connection change occurs, it resets the periodic update as 
previous.

https://github.com/masconsult/auto-update-apk-client/commit/51246d4a60edfd62af26
3dcc229176d82a67d49c

Original issue reported on code.google.com by g...@roupsky.name on 25 Sep 2012 at 2:54

GoogleCodeExporter commented 9 years ago
> Currently the periodic update is scheduled after a connectivity change 
broadcast
> is received. This leads to situations when the periodic update is not run at 
all.

From what I know, every time you register for a connectivity change broadcast, 
you automatically receive the broadcast with the current connectivity status. 
Could you please elaborate a bit more regarding the situation when the periodic 
update is not run?

Original comment by lenik.terenin on 25 Sep 2012 at 6:48

GoogleCodeExporter commented 9 years ago
I didn't know that. It seems there is some other case when periodic updates 
doesn't happen. I'll investigate further and let you know.

Original comment by g...@roupsky.name on 26 Sep 2012 at 8:52

GoogleCodeExporter commented 9 years ago
Please, pay attention to the issue 22 and issue 23, maybe some of the questions 
were answered there.

Original comment by lenik.terenin on 26 Sep 2012 at 11:27

GoogleCodeExporter commented 9 years ago
Closing this issue as inactive for 2 month, hope all problems were solved.

Original comment by lenik.terenin on 20 Nov 2012 at 10:29