Skip to content
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

Merged
merged 4 commits into from
May 30, 2024

Conversation

ascopes
Copy link
Contributor

@ascopes ascopes commented May 19, 2024

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.

@ascopes ascopes force-pushed the bugfix/GH-3099-pin branch from fec5817 to 09b42d7 Compare May 19, 2024 11:47
@ascopes ascopes marked this pull request as ready for review May 19, 2024 11:47
// 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"])]
Copy link
Contributor Author

@ascopes ascopes May 19, 2024

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?

Copy link
Member

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.

@ascopes ascopes force-pushed the bugfix/GH-3099-pin branch from 09b42d7 to 4b7a119 Compare May 19, 2024 16:12
@oSumAtrIX oSumAtrIX marked this pull request as draft May 25, 2024 22:44
@ascopes ascopes force-pushed the bugfix/GH-3099-pin branch from 4b7a119 to 4e19837 Compare May 26, 2024 09:11
@ascopes ascopes marked this pull request as ready for review May 30, 2024 15:31
@LisoUseInAIKyrios LisoUseInAIKyrios changed the base branch from main to dev May 30, 2024 19:31
@oSumAtrIX oSumAtrIX merged commit 4fb3456 into ReVanced:dev May 30, 2024
2 checks passed
Copy link

welcome bot commented May 30, 2024

Thank you for contributing to ReVanced. Join us on Discord to receive a role for your contribution.

revanced-bot pushed a commit that referenced this pull request May 30, 2024
## [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))
revanced-bot pushed a commit that referenced this pull request May 31, 2024
## [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))
E85Addict pushed a commit to E85Addict/revanced-patches that referenced this pull request May 31, 2024
## [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))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants