Android logging best practices
Last updated: October 28, 2024
This topic describes logging best practices and the happy path for the Android SDK.
Recommended logging
iProov recommends logging the following on Android:
-
iProov success codes
-
iProov error codes
-
iProov failure codes
-
The
token
anduser_id
where appropriate -
Event states:
-
onConnecting
-
onConnected
-
onProcessing
-
onSuccess
-
onError
-
onFailure
-
-
Retry attempt number and retry state
-
Device model and OS
-
iProov SDK version
Events
The diagram below outlines the suggested event points and data to write to a logging system.
Next step