Hi, I'm new here.
I'm testing a Zebra MC3300x Android 11, DataWedge 11.4.122, Scanning Framework 37.8.11.0
This device is in my hands for homologation purposes. So, if I have success to get barcode reading data, I'll tell to my customer that it's possible to me to develop applications to this device.
The problem is that I'm failing...
I need to have success using Apache Cordova + DataWedge.
I think that two years ago, I had a similar device in my hands with Android 8.1 and DataWedge 7.6 and at that time, I had success.
At that time, in my cordova sample, I followed Darryn Campbell's Zebra Cordova DataWedge Demo:
https://github.com/darryncampbell/DataWedge-Cordova-Sample
(Thank you Darryn)
Even the Darryn Campbell sample is also no more working with the new device.
Could you help me?
Any help or tip is welcome.
I use Open Text TD Mobile to develop anative pplications for Android. This developing tool builds a Cordova project that can be opened by Android Studio.
https://www.opentext.com/products/gupta-td-mobile
https://www.youtube.com/watch?v=d4ko7elzhDI
My best regards.
1 Replies
Hi.
I found the problem and now I have the Darryn Campbell's sample working fine.
Due to the DataWedge version (11.X), I just added two lines of code (below in bold and italic) in the file DataWedgeCordovaSample\DataWedge-Cordova-Sample-master\platforms\android\app\build\intermediates\merged_assets\debug\mergeDebugAssets\out\www\js\index.js:
// Fire events sequentially so the application can gracefully degrade the functionality available on earlier DW versions
if (datawedgeVersion >= "6.3")
datawedge63();
if (datawedgeVersion >= "6.4")
datawedge64();
if (datawedgeVersion >= "6.5")
datawedge65();
else
datawedge64()
Thank you all