twilio/video-quickstart-android

Navigating to Settings Tab triggers "Connected" Status after onConnectFailure

Closed this issue · 1 comments

Description

Quickstart Kotlin UI will incorrectly show 'Connected to ' even if you have a bad Access Token as long as you go to settings and come back to main screen.

Steps to Reproduce

  1. Enter a wrong Access Token in local.properties file.
  2. Launch Quickstart Kotlin
  3. Connect to a Room. (Should fail with: "Failed to connect"
  4. Click on 3 dots, Navigate to settings. .
  5. Go back to main screen and app will show: "Connected to "

Code

image

image

image

image

Confirmed user is not actually connected via Twilio CLI

Expected Behavior

"Failed to connect" message should be consistent, even if navigating to settings.

Actual Behavior

app will incorrectly show: "Connected to "

Reproduces how Often

Every time.

Logs

// Log output when issue occurs

Versions

Android Studio Arctic Fox | 2020.3.1 Patch 3

Video Android SDK

Android API

API 24

Android Device

Nexus 5X

@lesquive thank you for the bug report, @ocarevs pushed a fix recently, if you update, this issue should be resolved.