Skip to content
Discussion options

You must be logged in to vote

Hello @souhailtourjmen,
Here are the benefits:

  1. Get rid of the init and instantiate methods and introduce a new class Printer
  2. Printer is as singleton instance of the printer and can be used for single and multiple printing.
  3. Printer class provides:
    • print queue on JS side
    • print SDK methods that are now just a proxy from native SDK ( the reason why API updated/changed)
    • error handling which includes description and native error code
    • proper typing

Hope it makes sense.

And sorry, I didn't write a migration guide because lack of time. But it is quite easy, just check the example folder

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@souhailtourjmen
Comment options

Answer selected by souhailtourjmen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants