Coder Social home page Coder Social logo

cordova-plugin-idynamo's People

Contributors

auctifera-josed avatar

Watchers

 avatar  avatar

Forkers

odininon tylervz

cordova-plugin-idynamo's Issues

I had to swipe two times to get card data

Hi I have used the code snippet mentioned in the example section of this plugin. I am able to see the card data only on every second swipe, can you please help me on this

Code I used:

onDeviceReady: function () {
    this.receivedEvent('deviceready');
    console.log("magtek" + JSON.stringify(magtek));

    magtek.init(function (err, res) { console.log("init error" + err); console.log("init resp" + res); });

    var q = function (res) { console.log("q" + res); }
    magtek.openDevice(q, q);
    window.addEventListener('magtekEvent', function (e) {
      console.log("e.dataType    " + e.dataType);
      switch (e.dataType) {
        case 'onDataReceived':
          console.log("e.data" + JSON.stringify(e.data));
          break;
        default:
          console.log("e" + JSON.stringify(e));
      }
    });
  },

updated to OS 12 and plugin stopped working

I was using this plugin through ionic with the clobber cordova.magtek and everything was working fine. I updated from IOS 11.4 to IOS 12 and now I am get an error on cordova.magtek.init(). Any idea on how I can go about solving this issue?

Build Errors

Hi,
I tried to use your plugin (thank you for sharing) and when i am trying to build with prod flag it gives me:
Undefined symbols for architecture x86_64
"OBJC_CLASS$_MTSCRA", referenced from:
objc-class-ref in CDVMagtek.o
ld: symbol(s) not found for architecture x86_64

I am banging my head on this for the last two days, do you have some experience with this error?
it was built ok without the --prod and worked as expected.

btw, i am using ionic framework if it's important.
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.