fix(SoundCloud): Constrain patches to last working app target

This commit is contained in:
LisoUseInAIKyrios 2025-07-04 12:28:58 +04:00
parent e3bc8be936
commit 89ec5d5bc6
3 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ import app.revanced.patches.soundcloud.shared.featureConstructorFingerprint
val hideAdsPatch = bytecodePatch( val hideAdsPatch = bytecodePatch(
name = "Hide ads", name = "Hide ads",
) { ) {
compatibleWith("com.soundcloud.android") compatibleWith("com.soundcloud.android"("2025.05.27-release"))
execute { execute {
// Enable a preset feature to disable audio ads by modifying the JSON server response. // Enable a preset feature to disable audio ads by modifying the JSON server response.

View file

@ -8,7 +8,7 @@ val disableTelemetryPatch = bytecodePatch(
name = "Disable telemetry", name = "Disable telemetry",
description = "Disables SoundCloud's telemetry system.", description = "Disables SoundCloud's telemetry system.",
) { ) {
compatibleWith("com.soundcloud.android") compatibleWith("com.soundcloud.android"("2025.05.27-release"))
execute { execute {
// Empty the "backend" argument to abort the initializer. // Empty the "backend" argument to abort the initializer.

View file

@ -17,7 +17,7 @@ import com.android.tools.smali.dexlib2.iface.reference.FieldReference
val enableOfflineSync = bytecodePatch( val enableOfflineSync = bytecodePatch(
name = "Enable offline sync", name = "Enable offline sync",
) { ) {
compatibleWith("com.soundcloud.android") compatibleWith("com.soundcloud.android"("2025.05.27-release"))
execute { execute {
// Enable the feature to allow offline track syncing by modifying the JSON server response. // Enable the feature to allow offline track syncing by modifying the JSON server response.