The “rf_barcode” option is for the inputfield command and is usually used specifically for Android devices. On the LiquidUI app for iOS, any inputfield can have the choice of using a barcode scan instead of typing in a value. As of version 22.214.171.124, the LiquidUI app for Android does not have this supported. The way to work around this is using the “rf_barcode” option. With this option set to true for an inputfield, the same behavior can be achieved.
- Log in to SAP using iOS or Android device. Navigate to IW22. For iOS or Android, without any scripts, the user is able to scan a barcode.
- This is not available in Android. Using scripts however, the behavior can be replicated.
Note: The device you are using must have a rear camera for this to work.
- If this option is set to true and an iOS device is used, there will be a button on the side of the inputfield to open the camera.
Liquid UI Script