twilio / audioswitch

An Android audio management library for real-time communication apps.
Apache License 2.0
163 stars 50 forks source link

AudioSwitch.java line 138 #100

Closed DenisPostnikov closed 1 year ago

DenisPostnikov commented 3 years ago

Describe the bug When loading the app, it gives an error AudioSwitch.java line 138

Application Logs

Fatal Exception: java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.HEADSET_PLUG flg=0x40000010 (has extras) } in com.twilio.audioswitch.wired.WiredHeadsetReceiver@e8f92b0 at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$-android_app_LoadedApk$ReceiverDispatcher$Args_51615(LoadedApk.java:1314) at android.app.-$Lambda$FilBqgnXJrN9Mgyks1XHeAxzSTk.$m$0(-.java:4) at android.app.-$Lambda$FilBqgnXJrN9Mgyks1XHeAxzSTk.run(-.java) at android.os.Handler.handleCallback(Handler.java:789) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6592) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:769)

Android Device (please complete the following information):

Screenshots

Screenshot 2021-09-27 at 17 41 42
nazmul32 commented 2 years ago

A similar issue happened with our project too. What is the update? @DenisPostnikov

DenisPostnikov commented 2 years ago

@nazmul32 Unfortunately no

lucanicoletti commented 1 year ago

We just got a Firebase Crashlytics looking exactly the same, is there any update?

ocarevs commented 1 year ago

This issue has been resolved as part of https://github.com/twilio/audioswitch/pull/142