Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

Replacement for Twilio.Device.destroy() #64

Open
ORCatalin opened this issue Jul 7, 2016 · 1 comment
Open

Replacement for Twilio.Device.destroy() #64

ORCatalin opened this issue Jul 7, 2016 · 1 comment

Comments

@ORCatalin
Copy link

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?

@jefflinwood
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants