On some android, the download gets stuck.

On some android (s7, moto play 1) … the complete download gets stuck.

However, if I open it in an anonymous tab, it works.

On ios and other android, it works perfectly.

You can open and check in:

http://apps.amo.delivery/roleta
http://apps.amo.delivery/roleta/index-debug.html

Video bug:

https://www.dropbox.com/s/n4kwevb0h43wdc5/WhatsApp%20Video%202018-04-23%20at%2010.38.32.mp4?dl=0

Note: Clearing the cache also does not work.

Can you inspect debug console when the complete download gets stuck ?

Attach Android to PC/Mac + Start Chrome + Open debug panel + switch to Console Tab + go to Remote Device tab

tried your app on my old Android5 (BB Mobile)  - works

https://www.dropbox.com/s/8fyhmciral8vlxd/apps.amo.delivery-1524495043752.log?dl=0

Log

I’ve noticed on the video first used app has size 198586, second - 1568361. The first app does not work, the second  - works. I guess something wrong in app files.

I do not know what to say.

Well, most of the problem’s new androids. Older ones work.

We cleared the cache, rebooted the device, and switched to DNS.

It gets that different size on everyone who gives trouble.

However, with anonymous tab, it works.

Devices with bugs: Motorola play 1, samsung s7, lg x cam, lenovo zuk z2 and moto g 5.

Hello, I have good news. I was able to solve the problem.

From android 7, chrome comes with data-save enabled by default.

To test the problem: activate the data save.

On Apache servers, you can resolve this problem with htaccess:

<FilesMatch “. (Bin | data) $”>
    Header set Cache-Control “no-transform”
</ FilesMatch>

Using the no-transform cache-control tag in html did not work.

Refs:

https://developer.chrome.com/multidevice/data-compression

https://stackoverflow.com/questions/31314119/disable-chrome-s-data-saver-optimization
 

Can you inspect debug console when the complete download gets stuck ?

Attach Android to PC/Mac + Start Chrome + Open debug panel + switch to Console Tab + go to Remote Device tab

tried your app on my old Android5 (BB Mobile)  - works

https://www.dropbox.com/s/8fyhmciral8vlxd/apps.amo.delivery-1524495043752.log?dl=0

Log

I’ve noticed on the video first used app has size 198586, second - 1568361. The first app does not work, the second  - works. I guess something wrong in app files.

I do not know what to say.

Well, most of the problem’s new androids. Older ones work.

We cleared the cache, rebooted the device, and switched to DNS.

It gets that different size on everyone who gives trouble.

However, with anonymous tab, it works.

Devices with bugs: Motorola play 1, samsung s7, lg x cam, lenovo zuk z2 and moto g 5.

Hello, I have good news. I was able to solve the problem.

From android 7, chrome comes with data-save enabled by default.

To test the problem: activate the data save.

On Apache servers, you can resolve this problem with htaccess:

<FilesMatch “. (Bin | data) $”>
    Header set Cache-Control “no-transform”
</ FilesMatch>

Using the no-transform cache-control tag in html did not work.

Refs:

https://developer.chrome.com/multidevice/data-compression

https://stackoverflow.com/questions/31314119/disable-chrome-s-data-saver-optimization