Skip to content

USB printing fails after unplug/replug without restarting the app #63

@taylorlacort

Description

@taylorlacort

When using the Android thermal printer Cordova plugin with USB printers, printing works correctly as long as the USB cable is not disconnected.

However, if the USB cable is unplugged and then plugged back in while the app is still running, all subsequent print attempts fail. The plugin returns an error (sometimes empty or related to USB interface claim), and the printer does not print.

If the application is fully closed and reopened, printing starts working again until the USB is disconnected once more.

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