Closed paco-spr closed 1 month ago
@paco-spr Thanks for the report... without steps to reproduce and a low reproduction rate 0.1%, not much we can do without more info...
Some basic questions... 1) Is your app using the getStats API? a) It it is... can you make sure that it is never making an Voice SDK API call from another thread, all the calls should be from the same thread
2) Do you have any additional info on what leads up to this crash?
@afalls-twilio Thanks for the quick reply. We do not use the getStats API. It does look like a few of the users were disconnecting from calls before the crash, and it does look like we missed ensuring that API call happens on the Main thread. That is likely the problem.
Thank you for the assistance, this is probably it!
Description
A small percentage of our users experience a crash originating from the Twilio Android Voice NDK
Steps to Reproduce
Unknown
Code
We have twilio voice sdk and audio switch setup in a multi module project. Our modules that use the SDK have these setup lines in their build.gradle
Expected Behavior
App does not crash
Actual Behavior
App crashes
Reproduces How Often
About 0.1% of our users are affected.
Twilio Call SID(s)
N/A
Logs
Versions
Gradle Version 8.8 Kotlin Version: 1.9.24 Target SDK: 34 Compile SDK: 34
Voice Android SDK
com.twilio:voice-android:6.6.1
OS Version
Various including Android 12, 13, and 14
Device Model
Various including Pixel 6, 7, Galaxy S22 Ultra, S23 Ultra, S20+ 5G