Hi everybody.
I want to know if its possible that an terminal app (build with Cordova/PhoneGap) access the QR Scanner of the Poynt device?
This is my first post. Sorry for the mistakes.
Thank you very much.
Damian
Hi everybody.
I want to know if its possible that an terminal app (build with Cordova/PhoneGap) access the QR Scanner of the Poynt device?
This is my first post. Sorry for the mistakes.
Thank you very much.
Damian
Hi Damian,
Yes it’s possible. I am by no means Cordova expert, but I wrote this simple plugin some time ago to launch payment fragment: https://www.npmjs.com/package/cordova-plugin-poynt.
The QR scanning capability is exposed in our SDK via an AIDL service (IPoyntSeconScreenService). This example http://bit.ly/2av6WSZ shows how to use it in an Android app. I did a quick search on google for “Cordova plugin AIDL service” and you can find several examples of how you can do. It will require some digging though if you are new to Android.
Hi Dennis.
I was looking and find this plugin phone gap barcodescanner that works ok. But nevertheless I will check de examples and try other options…
Thank you very much.
Damian