How to read a QR code

Appium & WebdriverIo (Javascript)

Hi Guys,

I have an app that I’m automating that requires to scan a QR code using its camera.
I was wondering if there is a way of scanning a Static png file
Or any other way to mock this scenario?

NOTE - it does not have the option to import Img from the device

I had suggested the zxing library in the past. Due to the number of clicks on those links I think it must work, but this poster was not able to do it. Maybe you will have better luck?