-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
feat(NU.nl): Add Hide ads
and Spoof Certificate
patch
#4368
base: dev
Are you sure you want to change the base?
Conversation
patches/src/main/kotlin/app/revanced/patches/nunl/ads/Fingerprints.kt
Outdated
Show resolved
Hide resolved
Hide ads
patch
93ec15d
to
ed84ad6
Compare
Hide ads
patchHide ads
and Spoof Certificate
patch
d607de8
to
afafe42
Compare
extensions/nunl/src/main/java/app/revanced/extension/nunl/ScreenMapperPatch.java
Outdated
Show resolved
Hide resolved
patches/src/main/kotlin/app/revanced/patches/nunl/ads/HideAdsPatch.kt
Outdated
Show resolved
Hide resolved
Hide ads
and Spoof Certificate
patchHide ads
and Spoof Certificate
patch
extensions/nunl/src/main/java/app/revanced/extension/nunl/ads/HideAdsPatch.java
Show resolved
Hide resolved
extensions/nunl/src/main/java/app/revanced/extension/nunl/ads/HideAdsPatch.java
Show resolved
Hide resolved
patches/src/main/kotlin/app/revanced/patches/nunl/ads/HideAdsPatch.kt
Outdated
Show resolved
Hide resolved
Is this ready to merge? |
returns("Ljava/lang/String;") | ||
|
||
custom { methodDef, classDef -> | ||
classDef.type.startsWith("Lcom/google/firebase/") && methodDef.name == "getFingerprintHashForPackage" |
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.
classDef already extends CharSequence, you can just call startsWith on it
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.
This was always intended to match 3 methods; adjusted to now have 3 signatures in separate classes and patch all 3
still relies on classDef.type
now to check for equality of full class name, as many other fingerprints in this project do
that said, the documentation implies that one could check that as well without the .type
which I think is incorrect or I'm doing something wrong
…3 methods - fix patches.api reference after previous rename
Adds two patches:
nl.sanomamedia.android.nu