Velorexe / Unity-Android-Bluetooth-Low-Energy

A Unity Android plugin to support basic Bluetooth Low Energy interactions.
The Unlicense
101 stars 21 forks source link

Permission missing #37

Closed lucasmontec-fortis closed 1 month ago

lucasmontec-fortis commented 8 months ago

Hey! I was testing the implementation and it seems that the provided manifest is missing the bluetooth scan permission:

2024/02/25 20:08:31.653 25093 25117 Error Unity AndroidJavaException: java.lang.SecurityException: Need android.permission.BLUETOOTH_SCAN permission for AttributionSource { uid = 10867, packageName = com.sawce.catbotcontroller, attributionTag = null, token = android.os.BinderProxy@cb6860c, next = null }: GattService registerScanner

Velorexe commented 8 months ago

Good call, I'll add it to the manifest.