Navigating to Settings Tab triggers "Connected" Status after onConnectFailure
Closed this issue · 1 comments
lesquive commented
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
- Enter a wrong Access Token in local.properties file.
- Launch Quickstart Kotlin
- Connect to a Room. (Should fail with: "Failed to connect"
- Click on 3 dots, Navigate to settings. .
- Go back to main screen and app will show: "Connected to "
Code
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
afalls-twilio commented