Barcode Scanner app

Thread is closed for posting
5 posts, 0 answers
  1. Joi
    Joi avatar
    2 posts
    Member since:
    Mar 2015

    Posted 16 Mar 2015 Link to this post

    Are there any available libraries for a barcoder/QR code reader? Or can I actually use cordova plugins for this? 
  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 19 Mar 2015 Link to this post

    Hi,

    NativeScript is in beta and currently the NativeScript API exposes the standard platform libraries only, i.e. buttons, widgets and so on. Third-party library support is planned but not implemented yet. So even if you have a third party library for barcode reading, you cannot currently use it through NativeScript.

    NativeScript has nothing in with Cordova, so the answer to the second question would be no.

    Take a look at this to learn what NativeScript is.

    Regards,
    Rossen Hristov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. Joi
    Joi avatar
    2 posts
    Member since:
    Mar 2015

    Posted 19 Mar 2015 in reply to Rossen Hristov Link to this post

    Okay, thanks! 
  4. dhrubajyoti
    dhrubajyoti avatar
    1 posts
    Member since:
    Oct 2014

    Posted 10 Apr 2015 in reply to Rossen Hristov Link to this post

     Hi,

    Need to build a module for bar-code scanner with custom ui like flash on/off button.

    What will be the best approach to it. Like all the image processioning will be done in javascript (using  https://serratus.github.io/quaggaJS/ ) or in native code itself.

  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 16 Apr 2015 Link to this post

    Hi,

    I've checked quickly quaggaJS however it seems that this library is browser dependent - in this case you cannot use it in NativeScript. The best way most probably is to choose some native Android and iOS libraries for barcode scanning and implement NativeScript wrapper. You can add third party library using our CLI command library add

    Regards,
    Vlad
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top