Cordova-plugin-bluetooth-serial issue

i have the followings in my config.xml:

<plugin name="cordova-plugin-bluetooth-serial" source="npm" />
<platform name="android">
    <config-file target="AndroidManifest.xml" parent="/manifest">
        <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" android:maxSdkVersion="30" />
        <uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation" />
        <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
    </config-file>
</platform>

however i have to add the following in config.xml as well

<engine name="android" spec="10.1.2"/>

in order to make bluetooth print working properly, any ideas?

Thanks
Teo

That plugin has not been updated in 8 years. I’d look for a replacement which is up to date.

I have not tried this plugin, but it looks like the kind of think you will need: