-
-
Notifications
You must be signed in to change notification settings - Fork 484
fix(Spotify): Add Spoof client
patch to fix various issues by using a web platform access token
#5173
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
Conversation
1263248
to
2bb60d5
Compare
…using a web platform access token
I'll work on some of the TODOs as soon as possible. |
Spoof client info
patch to fix various issues by using a web platform access token (#4937)Spoof client
patch to fix various issues by using a web platform access token (#4937)
Spoof client
patch to fix various issues by using a web platform access token (#4937)Spoof client
patch to fix various issues by using a web platform access token
I'm surprised that no one before ReVanced has thought to this solution. After all the advantages of PC platform are much older. @oSumAtrIX Do you think this patch has weaknesses that can be used to fix it by Spotify? |
Platform APIs are made regardless which can be binded to integrity checks or bound to platform auth keys. Abd server side heuristics can still determine invalid use of APIs such as skipping when no premium is active |
Theoretically PC platform it's unrestricted from shuffling and can be used without any further changes like premium enabling, and this will help to prevent unwanted fixes by Spotify. |
Android APIs are different from web APIs. This PR only spoofs the login API. I am currently working with Nuckyz on that. Also shuffle was one example of many. So what you said doesn't apply to the others |
The context is obtained from layoutInflator, i don't think its an activity, but I am not sure |
df5efc6
to
3bf1c17
Compare
3bf1c17
to
d808675
Compare
extensions/spotify/utils/src/main/antlr/app/revanced/extension/spotify/UserAgent.g4
Show resolved
Hide resolved
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionSha256Sum=d725d707bfabd4dfdc958c624003b3c80accc03f7037b5122c4b1d0ef15cecab |
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.
sha256sum should be added again. There's a warning in every artificat build about it.
@LisoUseInAIKyrios Is there a reason for a single session refresh request instead of 3 attempts with lower time? |
Not sure, I didn't write any if the code here and only refactored a little |
## [5.29.1-dev.1](v5.29.0...v5.29.1-dev.1) (2025-06-26) ### Bug Fixes * **Spotify:** Add `Spoof client` patch to fix various issues by using a web platform access token ([#5173](#5173)) ([b7b75bb](b7b75bb))
I patched the latest version v9.0.56.591 and the webpage is not loading ever. This is happening with recommended patches and 2 more which are custom theme and lyrics provider. |
This comment was marked as outdated.
This comment was marked as outdated.
If the webview is not loading, your system WebView is broken or your Internet is causing it |
I don't have such issue. I patched same version yesterday, with 5.29.0 patches, no issue till now. |
I tried a patched version of someone and it loads, it's not loading when I patch it. I'm patching on revancify with the revanced source nothing is missing as I can see or I'm missing something. I used the latest pre-release. |
@Hiraerh Unofficiall tools are not supported. |
Todo