You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For invalid ACS token, calling SDK crash with below message.
E/com.azure.android.communication.common.AutoRefreshUserCredential: java.lang.IllegalArgumentException: 'tokenStr' is not a valid token string
It will be great if SDK can provide handler to catch this error.
Steps:
The issue can be reproduced by injecting invalid function in CommunicationTokenRefreshOptions that returns invalid token.
val communicationTokenRefreshOptions = CommunicationTokenRefreshOptions(::getToken, true)
private fun getToken(): String {
return "token!!"
}
Version: com.azure.android:azure-communication-calling:1.2.1-beta.1
Device: Google Pixel 4a (Android 12)
The text was updated successfully, but these errors were encountered:
For invalid ACS token, calling SDK crash with below message.
E/com.azure.android.communication.common.AutoRefreshUserCredential: java.lang.IllegalArgumentException: 'tokenStr' is not a valid token string
It will be great if SDK can provide handler to catch this error.
Steps:
The issue can be reproduced by injecting invalid function in CommunicationTokenRefreshOptions that returns invalid token.
val communicationTokenRefreshOptions = CommunicationTokenRefreshOptions(::getToken, true)
private fun getToken(): String {
return "token!!"
}
Version: com.azure.android:azure-communication-calling:1.2.1-beta.1
Device: Google Pixel 4a (Android 12)
The text was updated successfully, but these errors were encountered: