Skip to content

Conversation

@IanDBird
Copy link
Collaborator

This PR introduces a new mechanism to detect when a UID2Manager instance has finished loading any previously persisted identity, which can then be accessed via it's currentIdentity property. This is done slightly differently to handle the API required for Kotlin vs Java:

  • Kotlin: A new UID2ManagerState of Loading is initially reported. After initialization is complete, the state will update to either reflect NoIdentity or one that is appropriate for the identity that was restored.
  • Java: An explicit callback/listener can be set on the UID2Manager instance.

@IanDBird IanDBird force-pushed the ian/manager-loading-state branch from 19776c4 to 03d34e0 Compare March 27, 2024 11:50
@IanDBird IanDBird force-pushed the ian/manager-loading-state branch from 03d34e0 to 5882317 Compare March 27, 2024 11:51
@IanDBird IanDBird merged commit 343c6e2 into main Mar 28, 2024
@IanDBird IanDBird deleted the ian/manager-loading-state branch March 28, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants