Yes, I have tried it on iOS and it's working fine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hI,
You can include this library: sap/ndc/BarcodeScanner
and then,
when you want to use the scanner: in that event:
onPress: function(oEvent) {
sap.ndc.BarcodeScanner.scan(
function(mResult) {
alert("We got a bar code\n" +
"Result: " + mResult.text + "\n" +
"Format: " + mResult.format + "\n") ;
"Cancelled: " + mResult.cancelled);
},
function(Error) {
alert("Scanning failed: " + Error);
}
);
}
Please let me know whether it works or not!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.