Giter VIP home page Giter VIP logo

lineapro-phonegap-plugin's People

Contributors

blakebyrnes avatar gauravbutola avatar ttatarinov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lineapro-phonegap-plugin's Issues

x86_64 architecture not supported

Xcode throws up the following errors when I attempt to build and deploy on a 64bit device.

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_DTDevices", referenced from:
      objc-class-ref in LineaProCDV.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

(Many thanks for the plugin)

Switching between phonegap app and other app causes incomplete barcodes to scan

I start the app fresh and scan a few barcodes, working as expected. I then switch to the browser to lookup a url. Once I switch back the app and continue to scan (I have to click the scan button to reconnect), I only get first part of the barcode. I need to either restart the scanner or completely close the app and reopen it.

Is there any additions that should be added to ensure the scanner reconnects?

Pass-Through Sync on Linea Pro 5

Great work on the plugin! I just had one question about accessing the scanner when plugged in via USB that I'm sure you've run into.

The scanner does not initialize when plugged in. It seems there is an option called "Pass Through Sync":

Pass Through Sync: Pass through sync allows you to connect to iTunes with the Linea attached. Disable this if you need to be able to connect to power and use the device at the same time. (Lighting Connector Devices Only)
http://support.swipetrack.com/hc/en-us/articles/201119480-SwipeTrack-Application-Device-Settings

Wondering if there is a way to set this in Cordova? I see that there are methods in DTDevices.h for them, but I am not familiar with Objective-C, or how to enable them/toggle the options. :)

/**
 Returns the current state of the pass-through synchronization.
 @param enabled returns if the sync is enabled or disabled
 @param error pointer to NSError object, where error information is stored in case function fails. You can pass nil if you don't want that information
 @return TRUE if function succeeded, FALSE otherwise
 */
-(BOOL)getPassThroughSync:(BOOL *)enabled error:(NSError **)error;

/**
 Enables or disables pass-through synchronization when you plug usb cable. In lightning connector devices this is important, as you can no longer have both sync and communication at the same time.
 Disable the sync for stationary, always on charge systems. Sync mode is persistent, but there is no downside of setting the desired one upon connection.
 @param enabled TRUE to enable pass-through sync, FALSE to disable it
 @param error pointer to NSError object, where error information is stored in case function fails. You can pass nil if you don't want that information
 @return TRUE if function succeeded, FALSE otherwise
 */
-(BOOL)setPassThroughSync:(BOOL)enabled error:(NSError **)error;

Linea pro Scanner start and stop

I would like to know is there a way to start and stop lightning connector scan manually?
LineaProCDV.initDT() method uses to start the scan. Once started its scanning throughout the app. Is there a way to stop scan? So that it'll be useful to stop the scan manually in pages where i don't need to scan. Other than that its working perfectly.

Adding info to the .plist file

Good looking plugin that I'm wanting to try but where do I add the code from the README? It seems that the plist file gets overridden every time.

!!! You must add section "SupportedExternalAccessoryProtocols" into "[Project Name].plist" file. This section should include the following items:

com.datecs.linea.pro.msr
com.datecs.iserial.communication
com.datecs.pinpad
com.datecs.linea.pro.bar

Linea Pro connections lost

Hello, first of all - awesome plugin. Works pretty nicely for what we need it for.

I am noticing a problem though - whenever we leave the LineaPro app running for an extended period of time (24+ hours) - the barcode scanner and/or the magstripe reader loses it's connection to the app.

We can swipe or press the button to scan a barcode - but nothing happens. IE: the laser does not come on.

To fix it, we have to reload the app (kill the current app and launch it again).

Is this a known limitation at all? Something you've experienced in the past?

Thanks,

Tim

Activate scanner

So I am trying to use the plugin but when I hit the button on the side that activates the scanner, nothing happens. So I need to write some JS for onclick of that button? Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.