Closed linsui closed 2 years ago
I have the same problem in Android 11 (but I am not sure whether the problem is related to OS or not)
I live in China now(I guess linsui is live in China too since his repo was written in Chinese ). I have tried 3.4.3.1 and it worked for me without VPN, but 3.4.3.8 didn't though I have enabled network filter passby.
Btw, the 3.4.3.8 can load images normally with VPN, so I think there must be wrong in the activation of SNI, not in system.
The logcat on my device is as follows. It seems that it is not a problem of system. I may not be able to find the problem which caused it, but I'll try my best to fix it.
@linsui
试试这个: https://github.com/mslxl/PixivforMuzei3/releases/download/3.4.3.8-fix/app-prod-debug.apk ,在我这边能正常加载图片了。
因为签名不一样,可能需要重新安装,安装后启用 绕过网络过滤
后再清除缓存试一下,因为网速可能比较慢,多刷新几遍。
如果可行的话我就提 pr
I have created a new instance when pref_enableNetworkBypass
was changed. If it is effective for linsui, I will make a pr
It doesn't work for me.
Well, it is so strange. I am using ColorOS, which is based on Android 11 too. I also test the app on AVD(Pixel_3a_API_30_x86). The app is working on these systems. Could you provide more information about your system and relevant logs? Thanks.
The problem may be related to the network. But 3.4.3.1 works.
(I am not good at English so I am not sure I express my meaning accurately. If you can understand Chinese, referred the below words 我不太擅长英语,下面的英语表达可能会不太准确。如果您能懂中文的话就看下面的中文版吧)
3.4.3.1 enables Network Bypass according to system language, while 3.4.3.8 uses an independent switch to enable Network Bypass .
I found the code related to Network Bypass would not apply to OKHttpClient instance when I enable the Enable Network Bypass
switch, so I guess there must be a problem. That is why I changed the code. Actually, my version is working on my device(I am in China too and I am using SD Telecom).
Now I have a new guess: the different systems would process background service differently, if the old background service were not be killed, the OKHttpClient instance would not be changed.
Can you help me by trying the following step and send the result to me?
PixivforMuzei3
, enter the ADVANCE SETTINGS
page and enable the Enable Network Bypass
switchPixivforMuzei3
in MuzeiIf it works, I will force restart the app when Enable Network Bypass was changed. If it keeps failing, then I do not know where exist mistakes
3.4.3.1 通过系统语言判断是否启用 Network Bypass , 3.4.3.8 则将它独立成了一个开关。我发现系统在 Enable Network Bypass
开关切换后,OKHttpClient 实例并不会变,我感觉问题一定在这,所以我修改了代码,修改后的代码在我这边能正常运行(我使用山东电信)。我个人猜测可能不同的系统对后台服务有不同的处理方式,因此导至了差异。
能按照下面的步骤试一下码?
绕过网络过滤
绕过网络过滤
开关变化后强置重启这个应用来解觉这个问题
如果反复失败,那么我也不知道那里有问题了。It works for me this time. I'm not sure if it's because the reboot... Thanks!
Thank you the two of you, I really appreciate the investigative work and effort you put into this.
I've been very busy the past months with COVID and my new job
@mslxl would you like to be credited within my app, if yes is linking to your Github acceptable?
Linsui, could you please test this build out? https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.4.3.9 Only change is merging of mslxl's code that should fix the issue you are having.
Yes, I would be very happy if I can be credited within your app.
:smile:
On Jul 7, 2021 at 19:04, Antony @.***> wrote:
@mslxl would you like to be credited within my app, if yes is linking to your Github acceptable?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
I use 3.4.3.8 from F-Droid which can't download new images while 3.4.3.1 works for me. My device is Android 11. Could you please take a look? Thanks!