Compare commits

...

6 Commits

Author SHA1 Message Date
semantic-release-bot
59f9e4328f chore: Release v5.50.0-dev.3 [skip ci]
# [5.50.0-dev.3](https://github.com/ReVanced/revanced-patches/compare/v5.50.0-dev.2...v5.50.0-dev.3) (2026-01-26)

### Features

* **Kleinanzeigen:** Add `Hide ads` patch ([#6533](https://github.com/ReVanced/revanced-patches/issues/6533)) ([bd6e544](bd6e544007))
2026-01-26 14:24:11 +00:00
xehpuk
bd6e544007 feat(Kleinanzeigen): Add Hide ads patch (#6533)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2026-01-26 15:20:59 +01:00
semantic-release-bot
dbdd2a67ff chore: Release v5.50.0-dev.2 [skip ci]
# [5.50.0-dev.2](https://github.com/ReVanced/revanced-patches/compare/v5.50.0-dev.1...v5.50.0-dev.2) (2026-01-25)

### Bug Fixes

* **Letterboxd - Hide ads:** Fix patch by returning the correct return type ([#6527](https://github.com/ReVanced/revanced-patches/issues/6527)) ([80c34b9](80c34b9d74))
2026-01-25 10:08:33 +00:00
xehpuk
80c34b9d74 fix(Letterboxd - Hide ads): Fix patch by returning the correct return type (#6527) 2026-01-25 11:03:06 +01:00
semantic-release-bot
debf297d9e chore: Release v5.50.0-dev.1 [skip ci]
# [5.50.0-dev.1](https://github.com/ReVanced/revanced-patches/compare/v5.49.0-dev.1...v5.50.0-dev.1) (2026-01-25)

### Bug Fixes

* **Strava:** Fix `Add media download` patch ([#6526](https://github.com/ReVanced/revanced-patches/issues/6526)) ([dc9e68b](dc9e68ba57))

### Features

* **Nothing X:** Add `Show K1 token(s)` patch ([#6490](https://github.com/ReVanced/revanced-patches/issues/6490)) ([421cb28](421cb2899e))
* **Strava:** Add `Hide distractions` patch ([#6479](https://github.com/ReVanced/revanced-patches/issues/6479)) ([66b0852](66b0852f8f))
* **YouTube Music:** Add `Unlock Android Auto Media Browser` patch ([#6477](https://github.com/ReVanced/revanced-patches/issues/6477)) ([5edd9dc](5edd9dccae))
2026-01-25 00:53:06 +00:00
xehpuk
dc9e68ba57 fix(Strava): Fix Add media download patch (#6526) 2026-01-25 01:49:33 +01:00
13 changed files with 70 additions and 12 deletions

View File

@@ -1,3 +1,31 @@
# [5.50.0-dev.3](https://github.com/ReVanced/revanced-patches/compare/v5.50.0-dev.2...v5.50.0-dev.3) (2026-01-26)
### Features
* **Kleinanzeigen:** Add `Hide ads` patch ([#6533](https://github.com/ReVanced/revanced-patches/issues/6533)) ([bd6e544](https://github.com/ReVanced/revanced-patches/commit/bd6e544007d539ac2eb890d9bdcb6850435f96cb))
# [5.50.0-dev.2](https://github.com/ReVanced/revanced-patches/compare/v5.50.0-dev.1...v5.50.0-dev.2) (2026-01-25)
### Bug Fixes
* **Letterboxd - Hide ads:** Fix patch by returning the correct return type ([#6527](https://github.com/ReVanced/revanced-patches/issues/6527)) ([80c34b9](https://github.com/ReVanced/revanced-patches/commit/80c34b9d74a42018a0cd52b4a584ee71206bf963))
# [5.50.0-dev.1](https://github.com/ReVanced/revanced-patches/compare/v5.49.0-dev.1...v5.50.0-dev.1) (2026-01-25)
### Bug Fixes
* **Strava:** Fix `Add media download` patch ([#6526](https://github.com/ReVanced/revanced-patches/issues/6526)) ([dc9e68b](https://github.com/ReVanced/revanced-patches/commit/dc9e68ba574dd9f35cd742cb63193c5d875addde))
### Features
* **Nothing X:** Add `Show K1 token(s)` patch ([#6490](https://github.com/ReVanced/revanced-patches/issues/6490)) ([421cb28](https://github.com/ReVanced/revanced-patches/commit/421cb2899ef5c0f100fb8007bae8b89137d0e41c))
* **Strava:** Add `Hide distractions` patch ([#6479](https://github.com/ReVanced/revanced-patches/issues/6479)) ([66b0852](https://github.com/ReVanced/revanced-patches/commit/66b0852f8fa57c82b09997337a304374883d8ba5))
* **YouTube Music:** Add `Unlock Android Auto Media Browser` patch ([#6477](https://github.com/ReVanced/revanced-patches/issues/6477)) ([5edd9dc](https://github.com/ReVanced/revanced-patches/commit/5edd9dccae3b1ab4edf19771a771812e3c9ccf80))
# [5.50.0-dev.1](https://github.com/ReVanced/revanced-patches/compare/v5.49.0-dev.1...v5.50.0-dev.1) (2026-01-22)

View File

@@ -10,7 +10,7 @@ import android.os.Environment;
import android.provider.MediaStore;
import android.webkit.MimeTypeMap;
import com.strava.core.data.MediaType;
import com.strava.mediamodels.data.MediaType;
import com.strava.photos.data.Media;
import okhttp3.*;

View File

@@ -1,4 +1,4 @@
package com.strava.core.data;
package com.strava.mediamodels.data;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.strava.core.data;
package com.strava.mediamodels.data;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.strava.core.data;
package com.strava.mediamodels.data;
public enum MediaType {
PHOTO(1),

View File

@@ -1,4 +1,4 @@
package com.strava.core.data;
package com.strava.mediamodels.data;
import java.util.SortedMap;

View File

@@ -1,4 +1,4 @@
package com.strava.core.data;
package com.strava.mediamodels.data;
public enum RemoteMediaStatus {
NEW,

View File

@@ -1,9 +1,10 @@
package com.strava.photos.data;
import com.strava.core.data.MediaDimension;
import com.strava.core.data.MediaType;
import com.strava.core.data.RemoteMediaContent;
import com.strava.core.data.RemoteMediaStatus;
import com.strava.mediamodels.data.MediaDimension;
import com.strava.mediamodels.data.MediaType;
import com.strava.mediamodels.data.RemoteMediaContent;
import com.strava.mediamodels.data.RemoteMediaStatus;
import java.util.SortedMap;
public abstract class Media implements RemoteMediaContent {

View File

@@ -3,4 +3,4 @@ org.gradle.jvmargs = -Xms512M -Xmx2048M
org.gradle.parallel = true
android.useAndroidX = true
kotlin.code.style = official
version = 5.50.0-dev.1
version = 5.50.0-dev.3

View File

@@ -364,6 +364,10 @@ public final class app/revanced/patches/irplus/ad/RemoveAdsPatchKt {
public static final fun getRemoveAdsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
}
public final class app/revanced/patches/kleinanzeigen/ads/HideAdsPatchKt {
public static final fun getHideAdsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
}
public final class app/revanced/patches/letterboxd/ads/HideAdsPatchKt {
public static final fun getHideAdsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
}

View File

@@ -0,0 +1,9 @@
package app.revanced.patches.kleinanzeigen.ads
import app.revanced.patcher.fingerprint
internal val getLibertyInitFingerprint = fingerprint {
custom { method, classDef ->
method.name == "init" && classDef.endsWith("/Liberty;")
}
}

View File

@@ -0,0 +1,16 @@
package app.revanced.patches.kleinanzeigen.ads
import app.revanced.patcher.patch.bytecodePatch
import app.revanced.util.returnEarly
@Suppress("unused")
val hideAdsPatch = bytecodePatch(
name = "Hide ads",
description = "Hides sponsored ads and Google Ads. Also happens to disable Microsoft Clarity analytics.",
) {
compatibleWith("com.ebay.kleinanzeigen")
execute {
getLibertyInitFingerprint.method.returnEarly()
}
}

View File

@@ -14,7 +14,7 @@ val hideAdsPatch = bytecodePatch(
execute {
admobHelperSetShowAdsFingerprint.method.addInstruction(0, "const p1, 0x0")
listOf(admobHelperShouldShowAdsFingerprint, filmFragmentShowAdsFingerprint, memberExtensionShowAdsFingerprint).forEach {
it.method.returnEarly(false)
it.method.returnEarly()
}
}
}