hi darryn,
I am trying to use datswedge. (devextreme component use in project)
add project, GitHub - darryncampbell/EnterpriseBarcodePoC: Enterprise Browser Proof of Concept plugin.
but, Waiting a long time for deviceready..
ebapi-modules.js is part of Enterprise Browser and that script will only run within the Enterprise Browser product. If you are developing a cordova application the only officially supported technique would be to integrate with DataWedge. There is a blog post on the topic here: and I gave a Dev{Talk} on the subject here: There are unsupported techniques for creating Cordova plugins for our devices available on GitHub also.
Of course you could go down the Enterprise Browser route but at that point you are no longer developing a Cordova application: Getting Started - Zebra Technologies Techdocs
hi Darryn,
Cordova I do not think to use. EB For the most suitable project. EB required license? If you use EB, what are the processing steps. How can i solve this error.
4 Replies
hi darryn,
I am trying to use datswedge. (devextreme component use in project)
add project, GitHub - darryncampbell/EnterpriseBarcodePoC: Enterprise Browser Proof of Concept plugin.
but, Waiting a long time for deviceready..
thanks
Undefined error. How can I register EB on the project.
function fnScanEnable() {
EB.Barcode.enable({ allDecoders: true }, fnBarcodeScanned);
document.getElementById('scanData').value
= "enabled: press HW trigger to capture.";
}
function fnBarcodeScanned(jsonObject) {
console.log("Barcode Scanned:{" + JSON.stringify(jsonObject) + "}");
document.getElementById('scanData').value = "barcode: " + jsonObject.data;
}
function fnScanDisable() {
EB.Barcode.disable();
document.getElementById('scanData').value = "disabled: press 'enable' to scan.";
}
window.addEventListener('DOMContentLoaded', loadEvent);
window.addEventListener('unload', unloadEvent);
ebapi-modules.js is part of Enterprise Browser and that script will only run within the Enterprise Browser product. If you are developing a cordova application the only officially supported technique would be to integrate with DataWedge. There is a blog post on the topic here: and I gave a Dev{Talk} on the subject here: There are unsupported techniques for creating Cordova plugins for our devices available on GitHub also.
Of course you could go down the Enterprise Browser route but at that point you are no longer developing a Cordova application: Getting Started - Zebra Technologies Techdocs
hi Darryn,
Cordova I do not think to use. EB For the most suitable project. EB required license? If you use EB, what are the processing steps. How can i solve this error.