Phonegap QR / Barcode Generator Plugin
I want to create an application that generates barcode / qr image in phonegap for Ios. Are there any plugins for this?
If not, are there any JS / HTML5 scripts that can be used?
I tried google but didn't find much useful information (found it for android but need something for Ios)
Thanks for your reply:)
+3
source to share
1 answer
Solution A: web service
If your application might need an internet connection to generate QR codes, you can use a web service.
Example QR code for URL www.example.com
:
Google Chart API (deprecated)
http://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=http://www.example.com/&choe=UTF-8&chld=L|1
ZXing Web Service
http://zxing.org/w/chart?chs=150x150&cht=qr&chl=http://www.example.com/&choe=UTF-8&chld=L|1
As mentioned by Sean Owen .
Solution B: plugin
If you don't mind using a plugin, you can use the official BarcodeScanner plugin to generate (and read) codes.
+8
source to share