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

Unable to run code #16

Open Dhuel opened 8 years ago

Dhuel commented 8 years ago

Hey, I'm new to this type of developing and I would greatly appreciate some help. I am using telerik app builder which uses a cordova framework. I added the plugin and the example code but I receive the error "Uncaught ReferenceError: datawedge is not defined". Do you know what could be causing this?

mronemous commented 8 years ago

What device are you developing against, or are you using a simulator? The data wedge has to be installed on the device.

On Jul 27, 2016, at 9:58 AM, Dhuel notifications@github.com wrote:

Hey, I'm new to this type of developing and I would greatly appreciate some help. I am using telerik app builder which uses a cordova framework. I added the plugin and the example code but I receive the error "Uncaught ReferenceError: datawedge is not defined". Do you know what could be causing this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BlueFletch/motorola-datawedge-cordova-plugin/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/ADgUMCMFv_mrofh1IFoh-0b5Kza9FOZwks5qZ2QWgaJpZM4JWN7z.

Dhuel commented 8 years ago

I am using a Motorola TC70, TC55 and MC40 which all have data wedge installed

chaitanyaatkuri commented 7 years ago

Dhuel maybe your development IDE is not able to recognise datawedge instance so could you try replacig it with "window.datawedge"