audioswitch version question
I notice this library uses a forked version of audioswitch,
com.github.davidliu:audioswitch:89582c47c9a04c62f90aa5e57251af4800a62c9a
My react native project also brings in the official com.twilio:audioswitch:${versions.audioSwitch} since I am using the twilio voice sdk.
I am currently running into some merge conflicts with these two libraries.
I am fairly new to android package management. Is there a way I can let both libraries use their own version?
Also, is it not possible for this library to move to the official twilio version of audioswitch?
Do you forsee any potential issues of forcing the twilio voice sdk to use this forked version so they are aligned?
The twilio audioswitch library requires a runtime permission request to use bluetooth audio which is a pretty big UX issue.
The forked version uses a different approach for bluetooth using the more modern APIs to avoid the permission issue, and while we submitted a PR to fix the original twilio repo, they never merged it. Unfortunately we won't be switching back to the original audioswitch library until this is fixed. We can move the package name to avoid the conflict, but I won't be able to get to it for a while.