cordova-plugin-vha-bluetooth-print
Dear all expect, i’m using above plugin at build.phonegap.com all the while. It working fine until i migrate to this platform. Below is my code:
BTPrinter.list(function(data){
for(var i = 0;i<data.length;i++){
html += '<div class=\"fit button mb-18\" onClick="connectPrinter(\'' + data[i] + '\')">' + data[i] + '</div>';
}
The problem faced is, if my phone connected to 2 bluetooth device, the array able to loop two times. but can’t read the device info. It display [object Object] when i try to print data[0]
Please advice
Many Thanks