cleanUp

open suspend override fun cleanUp(context: Context, backup: (context: Context) -> Unit)

Cleans up all legacy ForgeRock Authenticator SharedPreferences files after migration.

This override deletes the SharedPreferences files directly (rather than clearing individual entries) to improve performance during cleanup.

Parameters

context

The Android Context used to delete shared preferences.

backup

A callback invoked before deletion, allowing the caller to back up data prior to removal.