ClassiCube icon indicating copy to clipboard operation
ClassiCube copied to clipboard

Checking for updates breaks when targetting android 9.0+

Open UnknownShadow200 opened this issue 4 years ago • 3 comments

Because https://cs.classicube.net/client/builds.json redirects to http://classicube.s3.amazonaws.com/client/builds.json, and android won't auto follow redirects from https to http.

Because of the way cs.classicube.net handles redirects, having it redirect to https:// instead would be rather difficult. So I need to add support for manually following redirects in Http.c.

(implementation would probably be along the lines of check status is 301-302, if so change req->url to Location header. Attempt this only up to 10 times)

UnknownShadow200 avatar Oct 22 '20 14:10 UnknownShadow200

Why does android check for updates if it cannot install them?

TheAwesome98-Real avatar Nov 05 '20 17:11 TheAwesome98-Real

It still needs to know if there is a newer version so it can inform the user they should redownload and reinstall the apk to get the latest version.

UnknownShadow200 avatar Nov 05 '20 21:11 UnknownShadow200

Ah right of course

TheAwesome98-Real avatar Nov 06 '20 16:11 TheAwesome98-Real