Infinity-For-Lemmy/app
Angelo Suzuki b626c5fb73 Use an OkHttpClient with User-Agent when initializing BigImageViewer.
If not passed, BigImageViewer overrides the Glide OkHttp downloader upon initialization with an empty one:
https://github.com/Piasy/BigImageViewer/blob/067f8eb/GlideImageLoader/src/main/java/com/github/piasy/biv/loader/glide/GlideProgressSupport.java#L76

In that case, Glide creates a default User-Agent:
cbdc1e78b4/library/src/main/java/com/bumptech/glide/load/model/LazyHeaders.java (L103-L106)

Example User-Agent: Dalvik/2.1.0 (Linux; U; Android 11; sdk_gphone_x86 Build/RSR1.201013.001)

https://files.catbox.moe is filtering out that User-Agent. Using the App one fixes it.
2023-09-05 11:42:38 +02:00
..
src Use an OkHttpClient with User-Agent when initializing BigImageViewer. 2023-09-05 11:42:38 +02:00
build.gradle Bump version 2023-08-25 17:34:14 +02:00
proguard-rules.pro Change package name 2023-07-15 13:06:40 +02:00