4 Answers, 1 is accepted
0
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
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.
0
Joi
Top achievements
Rank 1
answered on 19 Mar 2015, 11:13 PM
Okay, thanks!
0
dhrubajyoti
Top achievements
Rank 1
answered on 10 Apr 2015, 08:17 PM
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.
0
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
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.