Skip to content

Conversation

@christianbach
Copy link

@christianbach christianbach commented Jan 8, 2025

This update enhances error handling in the HaapiInteractionHandler and related methods by introducing separate onError callbacks for better management of authentication flows, token exchanges, and other operations.

Previously, exceptions within Kotlin coroutines were confined to the coroutine scope, making it difficult to manage errors effectively.

This PR addresses that issue by implementing robust and granular error-handling mechanisms

closes #30
closes #29

@christianbach christianbach marked this pull request as ready for review January 9, 2025 07:40
@christianbach christianbach marked this pull request as draft January 23, 2025 08:59
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.

Android: Refactor withTokenManager for Better Error Handling Android: only enable HaapiLogger in DEBUG builds

1 participant