Cordova-plugin-printer

Voltbulder now throws a build error, I have narrowed it down to the cordova-plugin-printer plugin.

Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:compileDebugJavaWithJavac’.

Compilation failed; see the compiler error output for details.

It used to build and run ok but not anymore.

This plugin is obsolete.

Digging into the open issues in its GitHub, issue 254 from April, 2020 notes that the plugin is using an obsolete library. Android has replaced Android Support with AndroidX. There’s more from Google here.

The author of issue 254 offered to fix the plugin. A month later, he asked the author if the library was dead. He didn’t get a reply in either case.

You’ll need to find another plugin.

Ok thank you, do you know of any good print plugins to print images on iOS and Android.