CesarBalzer / Cordova-Plugin-BTPrinter

A cordova plugin for bluetooth printer for android platform
Apache License 2.0
80 stars 63 forks source link

BTPrinter.list return names and renamed paired devices #76

Open wencywww opened 9 months ago

wencywww commented 9 months ago

As we know, the Android Bluetooth settings allow us to rename the paired Bluetooth devices. However, when i issue

BTPrinter.list(function(data){
        console.log("Success");
        console.log(data); // paired bluetooth devices array
    },function(err){
        console.log("Error");
        console.log(err);
    });

the "data" array continues to show the original device names - not respecting the renaming. Any idea why is that?