exist

fun exist(context: Context): Boolean

Checks if the legacy key store file exists in the file system.

This method is useful for determining whether migration is necessary. If the file doesn't exist, it indicates that either:

  • The Legacy SDK was never used in this app installation

  • The migration has already been completed

  • The file was manually deleted

Return

true if the encrypted key store file exists, false otherwise.

Parameters

context

The Android context used to access the file system.