Commit 149dc606 by Kim Peace

Added call start scan and stop scan

parent 715f9a96
......@@ -2966,7 +2966,9 @@ CHK.startScan = function() {
try {
if (CHK.isAndroid) {
android.startScan();
}
} else if (CHK.isIOS) {
webkit.messageHandlers.startScan.postMessage({});
}
} catch (e) {
return;
}
......@@ -2978,7 +2980,9 @@ CHK.scanClose = function() {
try {
if (CHK.isAndroid) {
android.stopScan();
}
} else if (CHK.isIOS) {
webkit.messageHandlers.stopScan.postMessage({});
}
} catch (e) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment