-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I've struggled with this plugin for weeks, and several critical issues were exposed during my attempt. Now I list them as following:
- After integrating this plugin into your flutter project, you MUST add the
libZSDK_API.afile into your xcode project, or you would not pass the iOS building. - Characters in utf8 encoding can not be printed on iOS, you MUST modify the implementation code under iOS folder. And sadly, this would not be an easy job for non-native devs.
- The channel apis were NOT implemented correctly on Android. So, when you call some apis on Android, your app may crash. And codes under
onMethodCallfunction inPrinter.javamust be updated. This issue is mentioned in App crashed when callingconnectToPrinter#8 . - The result from
onPrinterFoundcallback is NOT reliable. This plugin will return the previously discovered printers when you calldiscoveryPrinters. So you will notice that when you discovered a printer, it still appears in your found list when you rescan printers event you turn the printer's power off. - Printers may disconnect after several seconds on iOS. This might be a serious bug with the Zebra SDK. So, DO NOT use it on iOS.
According to these issues, I really DO NOT SUGGEST you use this plugin in your flutter app. Trust me, this would be A WASTE OF LIFE if you want to figure out and fix these issues.
And if you really need to print labels with Zebra printers, FIND native devs and use Zebra's official link-os SDK.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels