lazydroid / auto-update-apk-client

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

Downloads count getting incremented even though the update is not successful/complete #48

Closed GoogleCodeExporter closed 3 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Added a new APK with higher version number.
2. Version number is 47, last version number was 46.
3. App gets updated on device. The downloads count gets incremented but not in 
sync.
4. Number of downloads count (n*5) is very much higher than number (n) of 
devices updated.
5. Below is the track of no. of devices updated, download counts and traffic 
quota available.

v47(devices)        Downloads            Traffic Quota available
346                  1414                         868.0 MB  
348                  1417                         868.0 MB 
350                  1419                         868.0 MB   
350                  1419                         809.4 MB
351                  1420                         809.4 MB   
351                  1423                         809.4 MB
351                  1428                         809.4 MB   
352                  1434                         763.9 MB   
409                  1673                         0 MB

What is the expected output? What do you see instead?
* The no. of downloads should be equal to no. of devices got updated but this 
is not the case. The no. of devices updated is 409 but the total no. of 
downloads in 1673 (huge difference).

What version of the product are you using? On what operating system?
* Android

Please provide any additional information below.
* Consider a scenario where in the app is getting updated and the phone/device 
gets switched off in between, will the download count increment & traffic quota 
available decrease?
* Can you provide us with dashboard/logs to check which devices got updated and 
when, did the download stop in between due to some reason and much more details 
which will help us understand what is going wrong.

Original issue reported on code.google.com by kollipar...@gmail.com on 1 Aug 2013 at 8:30

GoogleCodeExporter commented 9 years ago
Web server you download your updates from cannot control your user or your 
application, therefore it cannot control if your application is updated now, in 
1 hour, in one week or at all.

Download statistics is exactly what it is called -- _download_ statistics (not 
update statistics or anything else), as soon as your application requests a 
download, it's recorded in the statistics. Due to the distributed nature of the 
server software, the download statistics on the page and traffic quota are not 
changing in sync, number of downloads follows real events closer, traffic quota 
might be late by 10-15 minutes, maybe more in rare cases.

If your device update count does not correspond to the download counts, please, 
ask your users, why don't they update the application? The server software has 
no slightest idea where the download went, will it be used for update or some 
other purpose, therefore there's no way to guarantee the update or know it 
happens.

If you need detailed download logs, please contact by email, but make sure your 
spam filter does not kill answers, as it happened before.

Original comment by lenik.terenin on 1 Aug 2013 at 1:36

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for the reply.

Need the detailed download logs, could you please send it to me via email.

Original comment by kollipar...@gmail.com on 5 Aug 2013 at 6:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Faced the same issue again.

On 30/08/2013 my account was refilled and below is the message I got. 
Today your AutoUpdateAPK quota was refilled to the amount of 5GB. 

However, I had not uploaded any updated APK on the site and the latest version 
was v47 but the entire traffic quota was used up for update of v46 (1158 
downloads).

Could you please correct this. I have a new version of APK now and seriously do 
not think of relying on you to roll out the updates to my customers. And, also 
there is no reply to my previous message on this thread. 

Please revert back asap as I am in need of rolling out the new build to my 
customers.

Original comment by kollipar...@gmail.com on 12 Sep 2013 at 10:16