Is there a good way to add an overlay to the camera? I'd love to be able to set up a box similar to the one on the screenshot. Can anybody advise?
Hi Roman,
You will need to edit the plugin itself to add the box overlay and wrap the plugin back into outsystems.
The repository maintained by outsystems is found here.
The files that need changing are cszbarscanner.xml for android and, as far as i'm aware, cszbar.m (at around line 100) for ios.
As long as nothing else is changed then you can just clone the original barcode plugin espace and change the repository reference to your own.
Hope this helps,
Adam
Hi Adam,
Thanks for your reply. Would it require a rebuild? Can you recommend a rapid way of working with the layout? I don't feel like it'd be fair to dig into cordova development and builds for such a small change.
Thanks,
Roman
i myself have been looking at making changes to this plugin for android use and the workflow i landed on is as follows:
This is the fastest way i found for making these kind of changes.
Thanks for the detailed explanation, Adam. Appreciate it