Android Question BLE permissions

saunwin

Active Member
Licensed User
Longtime User

Hi , Im trying to use a BLE printer with a B4A library (SD EscPos Printer (Lan,USB, Bluetooth SPP, BLE), but the app just reports NO PERMISSION...

SDK is 33

Here's (what I believe to be) the correct manifest permissions) in my manifest. Am I missing something ?

AddPermission(android.permission.ACCESS_COURSE_LOCATION)
AddPermission(android.permission.ACCESS_FINE_LOCATION)
AddPermission(android.permission.BLUETOOTH_ADVERTISE)
AddPermission(android.permission.BLUETOOTH_CONNECT)
AddPermission(android.permission.BLUETOOTH_SCAN)

TIA
 
Last edited:

drgottjr

Expert
Licensed User
Longtime User
it's hard to know exactly what you've done or haven't done, but you are missing the base bluetooth permission (android.permission.BLUETOOTH) and - perhaps - have not taken into account that connect, scan and location are runtime permissions. as far as what the "app reports", in the event of a permissions issue, the log normally identifies the missing permission by name. i'm not familiar with a terse NO PERMISSION log entry, sorry.
 
Upvote 0
Top