auctifera-josed / cordova-plugin-idynamo Goto Github PK
View Code? Open in Web Editor NEWCordova plugin for Magtek iDynamo devices
License: Apache License 2.0
Cordova plugin for Magtek iDynamo devices
License: Apache License 2.0
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));
}
});
},
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?
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.
iDynamos come encrypted. Any way to get this plugin to decrypt the data?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.