Currently, I have successfully built an iPhone app using PhoneGap and AngularJS that scans and processes barcodes exactly how I want. However, I also have a webapp powered by AngularJS that requires barcode input and similar processing capabilities. Since utilizing a webcam for barcode scanning isn't very sleek, and purchasing a standalone barcode scanner for the computer running the webapp is not ideal, my solution involves having the iPhone scan the barcode (which already works) and sending that data to the web application. Has anyone else encountered this situation before?
I initially considered tethering the iPhone to the computer via Bluetooth, but I'm unsure about how to send or receive Bluetooth data using JavaScript. Would it be more feasible to transmit the data over Wi-Fi using the AngularJS $http service instead?