mirror of
https://github.com/wahyd4/BarcodeScanner.git
synced 2026-08-11 05:55:55 +10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff32ceb0e0 | ||
|
|
6cf71f0a3e | ||
|
|
6d95b33987 | ||
|
|
ec5e1dc843 | ||
|
|
507c726215 | ||
|
|
fceafa235a | ||
|
|
666387e132 | ||
|
|
eb557c4827 | ||
|
|
33b2e914a4 | ||
|
|
657ec45122 | ||
|
|
52ce70de60 | ||
|
|
ab95b1342d | ||
|
|
7e7c39dda6 | ||
|
|
5c46e8d93f | ||
|
|
3bc65ebbaa | ||
|
|
5d6f0d52f9 | ||
|
|
b1f643f6f4 | ||
|
|
9c533da17e | ||
|
|
f568cc6d3e | ||
|
|
215e077510 | ||
|
|
58e773af70 |
@@ -48,7 +48,7 @@ The following barcode types are currently supported:
|
||||
|
||||
A full example could be:
|
||||
|
||||
var scanner = window.PhoneGap.require("cordova/plugin/BarcodeScanner");
|
||||
var scanner = cordova.require("cordova/plugin/BarcodeScanner");
|
||||
|
||||
scanner.scan(
|
||||
function (result) {
|
||||
@@ -74,7 +74,7 @@ Supported encoding types:
|
||||
|
||||
A full example could be:
|
||||
|
||||
var scanner = window.PhoneGap.require("cordova/plugin/BarcodeScanner");
|
||||
var scanner = cordova.require("cordova/plugin/BarcodeScanner");
|
||||
|
||||
scanner.encode(BarcodeScanner.Encode.TEXT_TYPE, "http://www.nytimes.com", function(success) {
|
||||
alert("encode success: " + success);
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
id="com.phonegap.plugins.barcodescanner"
|
||||
version="0.3.1">
|
||||
version="0.5.1">
|
||||
|
||||
<name>BarcodeScanner</name>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
|
||||
PhoneGap.define("cordova/plugin/BarcodeScanner",
|
||||
cordova.define("cordova/plugin/BarcodeScanner",
|
||||
|
||||
function (require, exports, module) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user