feat(Photomath): Support latest version (#4672)

This commit is contained in:
Dawid Krajcarz 2025-04-02 00:28:57 +02:00 committed by GitHub
parent 87c86b53a9
commit 8e16483229
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ val getDeviceIdPatch = bytecodePatch(
) {
dependsOn(signatureDetectionPatch)
compatibleWith("com.microblink.photomath"("8.37.0"))
compatibleWith("com.microblink.photomath")
execute {
getDeviceIdFingerprint.method.replaceInstructions(

View File

@ -14,5 +14,5 @@ internal val checkSignatureFingerprint = fingerprint {
Opcode.INVOKE_STATIC,
Opcode.MOVE_RESULT,
)
strings("signatures")
}
strings("SHA")
}

View File

@ -11,7 +11,7 @@ val hideUpdatePopupPatch = bytecodePatch(
) {
dependsOn(signatureDetectionPatch)
compatibleWith("com.microblink.photomath"("8.32.0"))
compatibleWith("com.microblink.photomath")
execute {
hideUpdatePopupFingerprint.method.addInstructions(

View File

@ -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(