scanner on third party app

Hi, I bought this device to use with amazon flex app, but when I open the app and then try to scan the QR code with the scanner it does not work, only the camera works. What do I need to do for the scanner to work with the app or how do I give permission?