-
-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Reddit): Pin Reddit to 2024.17.0 for HideAdsPatch #3192
Conversation
fec5817
to
09b42d7
Compare
// Constrained to last working version (2024.17.0) until https://github.com/iBotPeaches/Apktool/issues/3534 | ||
// is addressed which is causing crashes during patching. | ||
// See https://github.com/ReVanced/revanced-patches/issues/3099. | ||
compatiblePackages = [CompatiblePackage("com.reddit.frontpage", ["2024.17.0"])] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kept this in so it is clear that if anything depends on this in the future that it needs to have this constraint.
Assuming the dependency graph does not resolve these requirements recursively transitively given previous PR feedback?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The annotation should be removed and instead a comment can be kept. Patcher does not handle this annotation field but the application that runs the patcher.
src/main/kotlin/app/revanced/patches/reddit/ad/general/HideAdsPatch.kt
Outdated
Show resolved
Hide resolved
09b42d7
to
4b7a119
Compare
src/main/kotlin/app/revanced/patches/reddit/ad/banner/HideBannerPatch.kt
Outdated
Show resolved
Hide resolved
4b7a119
to
4e19837
Compare
src/main/kotlin/app/revanced/patches/reddit/ad/general/HideAdsPatch.kt
Outdated
Show resolved
Hide resolved
Thank you for contributing to ReVanced. Join us on Discord to receive a role for your contribution. |
## [4.8.3-dev.3](v4.8.3-dev.2...v4.8.3-dev.3) (2024-05-30) ### Bug Fixes * **Reddit - Hide ads:** Constrain to last working version 2024.17.0 ([#3192](#3192)) ([4fb3456](4fb3456))
## [4.8.3](v4.8.2...v4.8.3) (2024-05-31) ### Bug Fixes * **3rd-party Reddit apps:** Spoof user agent to work around Reddit API issues ([#3253](#3253)) ([495e6d6](495e6d6)) * **Reddit - Hide ads:** Constrain to last working version 2024.17.0 ([#3192](#3192)) ([4fb3456](4fb3456)) * **YouTube - Spoof client:** Clarify that only enter/exit fullscreen gesture does not work with Android VR spoof ([#3243](#3243)) ([06d8f55](06d8f55)) * **YouTube - Spoof client:** Improve Android spoofing ([#3230](#3230)) ([b688923](b688923))
## [4.8.3](v4.8.2...v4.8.3) (2024-05-31) ### Bug Fixes * **3rd-party Reddit apps:** Spoof user agent to work around Reddit API issues ([ReVanced#3253](https://github.com/E85Addict/revanced-patches/issues/3253)) ([495e6d6](495e6d6)) * **Reddit - Hide ads:** Constrain to last working version 2024.17.0 ([ReVanced#3192](https://github.com/E85Addict/revanced-patches/issues/3192)) ([4fb3456](4fb3456)) * **YouTube - Spoof client:** Clarify that only enter/exit fullscreen gesture does not work with Android VR spoof ([ReVanced#3243](https://github.com/E85Addict/revanced-patches/issues/3243)) ([06d8f55](06d8f55)) * **YouTube - Spoof client:** Improve Android spoofing ([ReVanced#3230](https://github.com/E85Addict/revanced-patches/issues/3230)) ([b688923](b688923)) ### Performance Improvements * Personal Logo && Add upstream sync ([929bf2b](929bf2b))
Until #3099 is fixable and addressed, this limits the version of Reddit that can be
used to 2024.0.17 which is the last known working version.
Reopened this from #3156 as the repo was accidentally closed due to an error on my side cleaning up unused forks on my account.
Added feedback from that PR to fix versions and apply the constraint to dependent patches that are named.