i’m trying to hide a text input and use it for scanning in Appfarm (needs to be in autofocus).
if my memory is good , i do recall that input mode “none” was preventing the app of triggering virtual keyboard on Android.
Is it possible to only show the Text Edit after the item is scanned? See the below screen recording for an example of a use case. In this case we scan the barcode, map it to the App Variable and then navigate to the section where the Text Edit is shown after the scan is complete. Would this work in your case?
For me, it’s not a camera-based scan. I’m using a scanner/gun integrated into the phone that scans the information directly.
This is how it works for me in Appfarm:
I have a hidden text input that is always kept in focus. I achieve this by forcing the focus back with the “On Lost Focus” event and also controlling its visibility.
When an item is scanned, the scanner essentially behaves like a keyboard: it types all the scanned information into the text input and then automatically presses Enter.
This triggers my action, which then handles the search and all the logic behind it.
This feature had been working for years, and the virtual keyboard was never displayed until recently. I’m not sure exactly when this behavior changed.
In the past, setting the input mode to “None” was sufficient to prevent the virtual keyboard from appearing.