Xposed-Modules-Repo/ma.wanam.youtubeadaway

A problem with the back-to-exit gesture

fsoceityC opened this issue · 11 comments

I downloaded the latest version 5.0.5. But the YouTube app just exited every time I used a back-to-exit gesture. Could you tell me how to solve this problem?

By the way, I am using YouTube version number 18.02.34

Yes, I have the same problem.

wanam commented

Actually, this is a known issue, after adding the revanced patch to hide ad cards, this broke the back-to-exit gesture, so I tried to implement a workaround on 5.0.5 to avoid exiting when the scroll is not at the top of the home page, but it seems the scrolling events I'm hooking are not accurate, thus reporting the false state of the scrolling.

Actually, this is a known issue, after adding the revanced patch to hide ad cards, this broke the back-to-exit gesture, so I tried to implement a workaround on 5.0.5 to avoid exiting when the scroll is not at the top of the home page, but it seems the scrolling events I'm hooking are not accurate, thus reporting the false state of the scrolling.

waiting for a fixed version:)

wanam commented

I'm still waiting for the new xposed api that will introduce remote preferences, planned on the next LSposed release, it's a new way to manage config storage, the latest updates of Android OS do NOT allow the "MODE_WORLD_READABLE" flag, so it won't be easy to read the application preferences while hooking...

Pls fix back to exit gesture, it's so annoying 😑

I recommend you try the previous version (5.0.3). The card ads won't be removed but the basic functions still work perfectly (in-video ads removal and background play) on 18.02.34 for me. And that's all I need.

Yeah,same

I recommend you try the previous version (5.0.3). The card ads won't be removed but the basic functions still work perfectly (in-video ads removal and background play) on 18.02.34 for me. And that's all I need.

I just did that , I only care about the in-video ads too

wanam commented

@Hayzedpro 5.0.3 should be good to go if you don't care about the ad cards, the in-video hooking implementation is the same on both versions.
I will try to add an option to disable the ad cards removal once we get the promised update of xposed api to support prefs storage.

wanam commented

I made "ad cards removal" optional on 5.0.6.
Closing this issue as it's a duplicate of wanam/YouTubeAdAway#129