Skip to content

No API to clean up aircall client/event listeners #22

@bent0b0x

Description

@bent0b0x

The AircallPhone class adds event listeners to the window object (this.w) upon instantiation here.

However, as far as I can tell there is no way to clean up this listener (and any other side effect that instantiation may cause). Thus, once you load the aircall iframe in your app there is no true way to do a full cleanup once the call flow is over.

It would be great to have some sort of .destroy() method to clean up the client.

Thank you in advance for taking a look!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions