Logo

Troubleshooting

SDK Features Are Not Available

  1. Confirm that EcoConfigurator was initialized successfully.
  2. Confirm that the correct environment and Host App Hash are being used.
  3. Call clearEligibilityCache() and perform a fresh eligibility check.
  4. Confirm that the current user is eligible on the server side.

Unauthorized Responses Continue After Refresh

  1. Verify that currentAccessToken() returns the latest valid token.
  2. Ensure that didReceiveUnauthorizedResponse(completion:) calls its completion handler exactly once.
  3. Pass true only when the token refresh completes successfully.
  4. Pass false when the token cannot be refreshed.

A Deep Link Is Not Opened by the SDK

  1. Verify that the host application is configured to receive the URL.
  2. Check the URL with coordinator.canHandle(url).
  3. Handle unsupported URLs in the host application.
  4. Use the completion handler of handle(_:completion:) to check whether navigation succeeded.