diff --git a/patches/src/main/kotlin/app/revanced/patches/photomath/detection/deviceid/SpoofDeviceIdPatch.kt b/patches/src/main/kotlin/app/revanced/patches/photomath/detection/deviceid/SpoofDeviceIdPatch.kt index 16c84b056..ca308be08 100644 --- a/patches/src/main/kotlin/app/revanced/patches/photomath/detection/deviceid/SpoofDeviceIdPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/photomath/detection/deviceid/SpoofDeviceIdPatch.kt @@ -12,7 +12,7 @@ val getDeviceIdPatch = bytecodePatch( ) { dependsOn(signatureDetectionPatch) - compatibleWith("com.microblink.photomath"("8.37.0")) + compatibleWith("com.microblink.photomath") execute { getDeviceIdFingerprint.method.replaceInstructions( diff --git a/patches/src/main/kotlin/app/revanced/patches/photomath/detection/signature/Fingerprints.kt b/patches/src/main/kotlin/app/revanced/patches/photomath/detection/signature/Fingerprints.kt index 5d7a20783..c6563270e 100644 --- a/patches/src/main/kotlin/app/revanced/patches/photomath/detection/signature/Fingerprints.kt +++ b/patches/src/main/kotlin/app/revanced/patches/photomath/detection/signature/Fingerprints.kt @@ -14,5 +14,5 @@ internal val checkSignatureFingerprint = fingerprint { Opcode.INVOKE_STATIC, Opcode.MOVE_RESULT, ) - strings("signatures") -} \ No newline at end of file + strings("SHA") +} diff --git a/patches/src/main/kotlin/app/revanced/patches/photomath/misc/annoyances/HideUpdatePopupPatch.kt b/patches/src/main/kotlin/app/revanced/patches/photomath/misc/annoyances/HideUpdatePopupPatch.kt index a3586de1c..e8e09b417 100644 --- a/patches/src/main/kotlin/app/revanced/patches/photomath/misc/annoyances/HideUpdatePopupPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/photomath/misc/annoyances/HideUpdatePopupPatch.kt @@ -11,7 +11,7 @@ val hideUpdatePopupPatch = bytecodePatch( ) { dependsOn(signatureDetectionPatch) - compatibleWith("com.microblink.photomath"("8.32.0")) + compatibleWith("com.microblink.photomath") execute { hideUpdatePopupFingerprint.method.addInstructions( diff --git a/patches/src/main/kotlin/app/revanced/patches/photomath/misc/unlock/plus/UnlockPlusPatch.kt b/patches/src/main/kotlin/app/revanced/patches/photomath/misc/unlock/plus/UnlockPlusPatch.kt index 8cc80c72e..1339a4477 100644 --- a/patches/src/main/kotlin/app/revanced/patches/photomath/misc/unlock/plus/UnlockPlusPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/photomath/misc/unlock/plus/UnlockPlusPatch.kt @@ -11,7 +11,7 @@ val unlockPlusPatch = bytecodePatch( ) { dependsOn(signatureDetectionPatch, enableBookpointPatch) - compatibleWith("com.microblink.photomath"("8.37.0")) + compatibleWith("com.microblink.photomath") execute { isPlusUnlockedFingerprint.method.addInstructions(