QR code scanning automation

Hello all,

I have a scenario where I need to scan a boarding ticket and then validate the result.
I managed to upload the qr code image into emulator’s camera and works till now.
The problem is how can I change this picture automatically, for more scenarios? Thru an adb command? Or does appium have such feature?

Thanks

Try https://stackoverflow.com/questions/6165618/how-to-mock-a-picture-in-android-emulator-camera (Linux only)

How did you manage to upload an image into emulator’s camera? Did you do this on native app or web browser?