Barcode scanning in the app page

Thread is closed for posting
2 posts, 0 answers
  1. Chris
    Chris avatar
    1 posts
    Member since:
    Jul 2017

    Posted 15 Aug 2017 Link to this post

    Is it possible to program the barcode scanner so that it is:

    1. active in a square box on the app page (and that it is active and waiting for someone to put a barcode under the phone.)


    At present I have it configured so that you have to push a button to activate it.   I want to turn it on 5 seconds after entering the page and leave it on the entire time the user is on the page but set to timeout after 3 minutes.

    Can anyone point me in the right direction of how I would implement this code functionality.



  2. Ventsislav Georgiev
    Ventsislav Georgiev avatar
    20 posts

    Posted 18 Aug 2017 Link to this post

    Hello Chris,

    If I understand correctly you would like to embed the scanner inside the web page, instead of opening the camera in full screen on a button click. The BarcodeScanner plugin doesn't support that feature and as suggested in this issue it is not trivial to implement. I would suggest trying out the cordova-plugin-qrscanner, as his implementation allows an html elements to be rendered over the scanner, thus allowing you to create an interface.

    Let me know if this helps.

    Ventsislav Georgiev
    Progress Telerik

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top