Surile / react-native-sunmi-printer

商米内置打印机
MIT License
44 stars 28 forks source link

errors on latest version #7

Closed XFAISAL closed 2 years ago

XFAISAL commented 2 years ago

hello i got a lot of erros after latest commit such as BitmapFactory not imported error here printBitmap(String encodedString, Int pixelWidth) and here also Bitmap scaledImage = Bitmap.createScaledBitmap(decodedBitmap, pixelWidth, (pixelWidth / w) * h, false);

Surile commented 2 years ago

hello i got a lot of erros after latest commit such as BitmapFactory not imported error here printBitmap(String encodedString, Int pixelWidth) and here also Bitmap scaledImage = Bitmap.createScaledBitmap(decodedBitmap, pixelWidth, (pixelWidth / w) * h, false);

i don't understand

dlwlrma00 commented 2 years ago

Same for me.

Screen Shot 2022-04-09 at 11 43 57 PM
Fharhanamrin commented 2 years ago
Screen Shot 2022-04-12 at 17 44 36 Screen Shot 2022-04-12 at 17 44 46
Fharhanamrin commented 2 years ago

hello sir, I installed it in the latest react native version, Please help me

Fharhanamrin commented 2 years ago

iam downgrade 63.0.1 for example

Screen Shot 2022-04-12 at 17 55 59
Surile commented 2 years ago
image

To see the information is to add this

Surile commented 2 years ago

@Fharhanamrin The latest version 1.6.1 has been released, please update to 1.6.1 and try

Fharhanamrin commented 2 years ago
Screen Shot 2022-04-12 at 18 47 21

solved, thanks sir

Surile commented 2 years ago

@Fharhanamrin ok.this is closed

Surile commented 2 years ago

@XFAISAL @dlwlrma00 The latest version 1.6.1 has been released, please update to 1.6.1 and try。.this is closed