revanced-patches-template
revanced-patches-template copied to clipboard
problem: deprecation of ad views
🐞 Issue
From the moment that Google moved (and still moving) so many stuff to litho, seems that old ads patches with id "ad_attribution" are not useful anymore.
⚙ Reproduce
Excluding them from patcher shouldn't change anything.
🛠 Solution
Deprecate patches.
https://github.com/revanced/revanced-patches/blob/main/src/main/kotlin/app/revanced/patches/youtube/ad/general/bytecode/patch/GeneralBytecodeAdsPatch.kt
// list of resource names to get the id of
private val resourceIds = arrayOf(
"ad_attribution",
@oSumAtrIX maybe this issue can be closed. ad_attribution components could still be visible if the user don't perform a login.
They should be patched in that case.
They should be patched in that case.
Ok...I'll close this issue so.