Erro, need android.permission.BLUETOOTH_CONNECT

This error happens in version 12 and 13 of android, in version 11 works normally, I think the app is not updated for these versions of android.

This is a frequently asked question, so if you do a search for BLUETOOTH_CONNECT here in the community, you can find a lot of threads about this including the solution