Symptom
Failed to enable IFAA passwordless authentication.
Possible Causes
The mobile device is not connected to the Internet.
Solution
Connect the mobile device to a Wi-Fi or hotspot and try again.
Symptom
The error message "The service is abnormal" is displayed during IFAA authentication.
Possible Causes
The IFAA process is a non-resident process and has a time limit after being started. The keepalive time is 1 minute only when the IFAA process is started by the preAuth API. For other APIs, the keepalive time is 10 seconds. If other APIs such as getAnonymousId are called between preAuth and auth, the keepalive time is updated to 10 seconds. As a result, if the interval between preAuth and auth exceeds 10 seconds, the IFAA process exits and the auth API call times out.
Solution
Ensure that preAuth and auth are called consecutively. Do not invoke other IFAA APIs, such as getAnonymousId, between preAuth and auth. Otherwise, the keepalive time is updated to 10 seconds, causing timeout.
You can use the HiLog to locate the fault: