Hi All,
I think I have discovered a bug with the barcode reader control, it appears to be impossible to disable the button.
I have attempted to use the following if statements on both the Disabled and DisplayMode properties to detect if the connection is offline:
Disabled - If(Connection.Connected,false,true)
DisplayMode - If(Connection.Connected,DisplayMode.Edit,DisplayMode.Disabled)
When I publish the changes and update the app on my iPhone, then put it into flight mode, the barcode reader button greys out (indicating my if statement is working) however I can still press the button and the barcode reader still works as if it was enabled.
I then hard coded the two properties to be permanently disabled using the code below:
Disabled - true
DisplayMode - DisplayMode.Disabled
Updated the app on my iPhone again, button is greyed out however I can still press the button as if it was enabled.
I think this is a bug. Can anyone else replicate the issue? Is this a known bug?