Turn off zebra barcode scanner

Building a mobile app for inventory checkin.

When an item is scanned that is not found in our database, I need to notify the user of this. Retool mobile does not allow audio, therefore, I'm looking for a way to pop up an alert on the screen and temporarily disable the Zebra TC 52 barcode scanner, therefore, the user has to look at the screen before proceeding. I've tried zebradatawedgereader.disabled(true) and cosolelog confirms the boolean but the scanner continues so work when physical buttons are pressed. Any thoughts?