I have my app starting up and there is a very small time frame in which the scanner will turn on to scan, even though the app is included the DataWedge profile allowed-apps list. It won't scan after that when my activity is loaded. The scanner works on other allowed apps like Chrome just fine, but the scanner seems to die out after 5 or so scans. Is there anything that can be going on with my app, DataWedge, or the scanner itself?
Allowing app on TC20 to use DataWedge scanner// Expert user has replied. |
3 Replies
I have kind of the same issue, did you find any solutions to this?
DataWedge docs are here if you have not seen them. Make sure to select the right version.
Available Product Documentation - Zebra Technologies Techdocs
Not sure what you mean by allowed-apps list. There is a Disabled apps list. If you have added your app there, the scanner will be disabled when your app is in the foreground.
You can create a profile for your app. If that is what you are doing, when you add your app to the "Associated apps and activities" for that profile. Make sure you select * for all activities in your app or individually select all of the activities in your app that you want the scanner active in.
You could turn on the logging in DataWedge and then look at the logcat logs. You will see events like this when DW detects a new foregound activity and turns the scanner on or off based on that.
08-22 15:49:35.188 4327 4327 D ScannerPlugin: ScannerPlugin.enable() for profile : chrome
One other thing to consider is that some DataWedge features require licensing on Zebra Professional-series devices, including TC20.
More info:
https://techdocs.zebra.com/licensing/about/#mdnacomponentsandfeatures