BlueFletch / motorola-datawedge-cordova-plugin

This is a Cordova/Phonegap plugin to interact with Motorola ruggedized Android devices' Barcode Scanners and Magnetic Stripe Readers (eg, ET1, TC55, MC40). The plugin works by interacting with the "DataWedge" application configured to output scan and magstripe read events.
35 stars 38 forks source link

Not receiving barcode callback #1

Closed odlp closed 10 years ago

odlp commented 10 years ago

Hi,

I've managed to get my cordova app to initiate a barcode scan (softkey) on a Motorola TC55 but don't receive the callback with barcode data.

I've configured a new DataWedge profile to Broadcast intent & the default action of com.bluefletch.motorola.datawedge.ACTION in the profile itself. Using logcat in USB debugging I can see the app registering the broadcast receiver.

Do I need to configure the intent category in Datawedge, or add an intent filter to the AndroidManifest.xml?

Many thanks, Oli

DataWedge version 1.7.6, Scanning framework 1.18.P03. Motorola TC55 running Android 4.1.2.

odlp commented 10 years ago

datawedge-profile

Screenshot of the Datawedge profile

odlp commented 10 years ago

Sorry to bother you - I've solved my own issue.

I was missing the app association setting in my Datawedge profile.