After the device ready we call the login procedure with the following piece of code
var certificate = KeyTalk.login(
function(content){
console.log(content);
},
function(error){
console.log(error);
},
[
<<username>>,
<<password>>,
<<pin> or null
]
);Add your kt_xxx.rccd file to the recources folder.
Make sure you add the file to your xCode project and activate the copy checkbox.
Use the following command to add the KeyTalk plugin to your project.
cordova plugin add https://github.com/SUPlabs/KeyTalk.git