Skip to content

Modifying cordova bar code scanner plugin interface in sap ui5 for andriod #353

@sanny16

Description

@sanny16

Hi,

i am using cordova.plugins.barcodeScanner.scan to capture QR Code data in sap ui5 application. In desktop, when the plugin is called, its opens a dialog, which has dialog header and a cancel button in the footer. This dialog is generated at runtime. I want to modify its Title and button text. How can i change them?

I want to Change dialog title to "Scan a QR Code" and Cancel button text to another language.

Is it possible to provide blue square at the edges to define qr code scanning area?

Can i add text on the top of this camera view?

I want to show error message on camera view itself - for example if the scanned qr code is not correct then there should be a message displayed from cordova and that message would be defined by me and after showing error message the camera must be kept in scan mode and it should not get closed. I tried handling it via sap ui5 message control to display message, but then the camera view gets closed.

Please suggest how to carry out above changes for andriod mobile and windows desktop.

Thanks,

Saurabh.
cordova bar code reader dialog desktop
test andriod mobile bar code scanner

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions