The issue here is that If i setup the twilio device multiple times, even if i call disconnectAll the incoming callback is called multiple times. I didn't found a way to fix this without using destroy() method. Is there any other way?
The solution would be to implement a Javascript method in the plugin that replaced the existing Twilio Device in the plugin, and then calls release() if it is on Android on the Device.
The issue here is that If i setup the twilio device multiple times, even if i call disconnectAll the incoming callback is called multiple times. I didn't found a way to fix this without using destroy() method. Is there any other way?