Flutter App crashes, the package bluetooth_print can't print images on ios, it's working in android but doesn't work in iOS

220 views Asked by At

I'm using this packagebluetooth_print: ^4.3.0 in my flutter app, but it crashes the app when trying to print images.

Here is the error message in xCode:

Exception   NSException *   "UIGraphicsBeginImageContext() failed to allocate CGBitampContext: size={0, 0}, scale=1.000000, bitmapInfo=0x2002. Use UIGraphicsImageRenderer to avoid this assert."   0x00000002837dae50
0

There are 0 answers