目录

[Q1] What is the validity period of the response token obtained after UserDetect is called?

The validity period is 2 minutes.

 

[Q2] Can URLCheck detect non-compliant URLs (such as URLs of websites containing pornographic, violent, or crime content)?

Currently, URLCheck can only detect URLs of phishing and Trojan-embedded websites. It cannot check the content of the websites.

 

[Q3] Can Safety Detect be used to check app security in all versions of operating systems?

Safety Detect can be used only in EMUI 5.0 and later to check app security. If you use it in versions earlier than EMUI 5.0, an empty list (no malicious app in the mobile phone) will be returned.

 

[Q4] What is the meaning of the value of basicIntegrity in the response of SysIntegrity of Safety Detect?

The value of basicIntegrity indicates the integrity of the operating system. The value true indicates that the operating system has never been modified.

 

[Q5] Which errors need to be handled by users?

Network errors and unsupported EMUI errors need to be handled by users. Error code 19202 indicates that the user needs to upgrade the EMUI. Error code 19002 indicates that the user needs to check whether the device can access the Internet.

 

[Q6] Must the check result of SysIntegrity of SafetyDetect be verified on the server?

No. The check result may not be verified on the server, which is insecure. You are advised to verify the check result on the server.


[Q7] What are the precautions for using the Java-to-Kotlin conversion tool of Android Studio to convert the demo project?

After using the Java-to-Kotlin conversion tool of Android Studio to convert the SysIntegrity demo project, you need to manually replace String[] jwsSplit = jwsStr.split("\\."); with val jwsSplit = jwsStr.split(".").toTypedArray().