Wanna implement Laser Barcode Scanner in IONIC App


#1

Hello all, we have developed a enterprise level Android app using IONIC, in which we want to implement Laser Barcode Scanner of Zebra MC36 Android Device

Did anyone ever implemented Laser Barcode Scanner in IONIC, please suggest us what to do.


#2

What issue you are facing, Does this barcode scanner provides any API/plugin for hybrid apps ?
Do you have native Android code for the same or you need to implement it from the scratch?


#3

@vaibhav915 Thanks for your reply.
They have provided Android SDK, but they dont have support for Hybrid apps. Zebra SCANNER SOFTWARE DEVELOPMENT KITS (SDK)


#4

It means you have to create custom plugin for the same.
Include that SDK in your native java code and create JavaScript interface and define native java path in your config file.
You can refer some guides to create Cordova custom plugins


#5

@vaibhav915 can you please give me more reference on this. Like HOW TO IMPLEMENT IT.


#6

Please refer these links, I’ve not gone thoroughly but you will find some reference:
https://cordova.apache.org/docs/en/latest/guide/hybrid/plugins/
https://blogs.oracle.com/mobile/introduction-to-custom-cordova-plugin-development
https://taco.visualstudio.com/en-us/docs/createplugintutorial/


#7

I know this thread is quite old, but it’s now quite easy to support zebra barcode scanners in ionic. Just read this page:
https://developer.zebra.com/community/home/blog/2018/04/03/ionic-applications-on-zebra-devices