iOS logging best practices

Last updated: October 15, 2024

This topic describes logging best practices and the happy path for the iOS SDK.

Recommended logging

iProov recommends logging the following on iOS:

  • iProov success codes

  • iProov error codes

  • iProov failure codes

  • The token and user_id where appropriate

  • Event states:

    • .connecting

    • .connected

    • .progress

    • .success

    • .error

    • .failure

  • 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

Integrate the Web SDK