mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-03-01 09:30:56 +08:00
New version!
This commit is contained in:
parent
692f342b29
commit
4bbbb169c9
@ -43,7 +43,7 @@ static void modify_callback(void *cookie, const char *name, const char *value, u
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
LOGD("[%s]: %s", name, value);
|
if (!prop.starts_with("cache") && !prop.starts_with("debug")) LOGD("[%s]: %s", name, value);
|
||||||
|
|
||||||
return o_callback(cookie, name, value, serial);
|
return o_callback(cookie, name, value, serial);
|
||||||
}
|
}
|
||||||
@ -129,9 +129,7 @@ public:
|
|||||||
LOGD("JSON contains %d keys!", static_cast<int>(json.size()));
|
LOGD("JSON contains %d keys!", static_cast<int>(json.size()));
|
||||||
|
|
||||||
if (json.contains("SECURITY_PATCH")) {
|
if (json.contains("SECURITY_PATCH")) {
|
||||||
if (json["SECURITY_PATCH"].is_null()) {
|
if (json["SECURITY_PATCH"].is_string()) {
|
||||||
LOGD("Key SECURITY_PATCH is null!");
|
|
||||||
} else if (json["SECURITY_PATCH"].is_string()) {
|
|
||||||
SECURITY_PATCH = json["SECURITY_PATCH"].get<std::string>();
|
SECURITY_PATCH = json["SECURITY_PATCH"].get<std::string>();
|
||||||
} else {
|
} else {
|
||||||
LOGD("Error parsing SECURITY_PATCH!");
|
LOGD("Error parsing SECURITY_PATCH!");
|
||||||
@ -141,9 +139,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (json.contains("FIRST_API_LEVEL")) {
|
if (json.contains("FIRST_API_LEVEL")) {
|
||||||
if (json["FIRST_API_LEVEL"].is_null()) {
|
if (json["FIRST_API_LEVEL"].is_string()) {
|
||||||
LOGD("Key FIRST_API_LEVEL is null!");
|
|
||||||
} else if (json["FIRST_API_LEVEL"].is_string()) {
|
|
||||||
FIRST_API_LEVEL = json["FIRST_API_LEVEL"].get<std::string>();
|
FIRST_API_LEVEL = json["FIRST_API_LEVEL"].get<std::string>();
|
||||||
} else {
|
} else {
|
||||||
LOGD("Error parsing FIRST_API_LEVEL!");
|
LOGD("Error parsing FIRST_API_LEVEL!");
|
||||||
@ -153,9 +149,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (json.contains("BUILD_ID")) {
|
if (json.contains("BUILD_ID")) {
|
||||||
if (json["BUILD_ID"].is_null()) {
|
if (json["BUILD_ID"].is_string()) {
|
||||||
LOGD("Key BUILD_ID is null!");
|
|
||||||
} else if (json["BUILD_ID"].is_string()) {
|
|
||||||
BUILD_ID = json["BUILD_ID"].get<std::string>();
|
BUILD_ID = json["BUILD_ID"].get<std::string>();
|
||||||
} else {
|
} else {
|
||||||
LOGD("Error parsing BUILD_ID!");
|
LOGD("Error parsing BUILD_ID!");
|
||||||
@ -165,9 +159,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (json.contains("VNDK_VERSION")) {
|
if (json.contains("VNDK_VERSION")) {
|
||||||
if (json["VNDK_VERSION"].is_null()) {
|
if (json["VNDK_VERSION"].is_string()) {
|
||||||
LOGD("Key VNDK_VERSION is null!");
|
|
||||||
} else if (json["VNDK_VERSION"].is_string()) {
|
|
||||||
VNDK_VERSION = json["VNDK_VERSION"].get<std::string>();
|
VNDK_VERSION = json["VNDK_VERSION"].get<std::string>();
|
||||||
} else {
|
} else {
|
||||||
LOGD("Error parsing VNDK_VERSION!");
|
LOGD("Error parsing VNDK_VERSION!");
|
||||||
|
@ -67,6 +67,7 @@ public final class EntryPoint {
|
|||||||
setProp("BRAND", map.get("BRAND"));
|
setProp("BRAND", map.get("BRAND"));
|
||||||
setProp("MODEL", map.get("MODEL"));
|
setProp("MODEL", map.get("MODEL"));
|
||||||
setProp("FINGERPRINT", map.get("FINGERPRINT"));
|
setProp("FINGERPRINT", map.get("FINGERPRINT"));
|
||||||
|
setProp("ID", map.get("BUILD_ID"));
|
||||||
setVersionProp("SECURITY_PATCH", map.get("SECURITY_PATCH"));
|
setVersionProp("SECURITY_PATCH", map.get("SECURITY_PATCH"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,5 +3,5 @@ name=Play Integrity Fix (DEV)
|
|||||||
version=v1
|
version=v1
|
||||||
versionCode=1
|
versionCode=1
|
||||||
author=chiteroman
|
author=chiteroman
|
||||||
description=Fuck Play Integrity API for yourself.
|
description=Fuck Play Integrity API by yourself.
|
||||||
updateJson=https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/dev/update.json
|
updateJson=https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/dev/update.json
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user