My android Version is 13, i got this message " Need android.permission.BLUETOOTH_SCAN permission for android.content.AttributionSource@1c63b490: GattService registerScanner "
After seeing your reply i edited the app then it worked find and connected to the microbit.
The problem is that, when i tried to send command to the microbit, i get this msg "6e400001-b5a3-f393-e0a9-e50e24dcca9e, characteristic 6e400003-b5a3-f393-e0a9-e50e24dcca9e are not published by the connected device"
Please do not private message the Power Users directly unless invited to.
We are a small team collectively supporting thousands of Users
The person messaged could be unavailable for days or weeks and the message left unread.
By keeping the discussion on the forum, there are many people from all around the World (different time zones) who can potentially help you, not just the first responder, who may be unavailable. Plus, there is often something that many forum members can learn by reading the posts.
Spot the characteristic error:
If this does not fix the issue, post your App Inventor Blocks, your micro:bit script and the model + version number of both your Android device (phone) and your micro:bit
Hello ChrisWard
Sorry for the private msg. After sending the msg to you the next day i tried the app again and the wrong msg gone without editing or adding any blocks about UUID.
We are not the source of the changes, it's Google's added security measures in Android. When requesting permissions, you have to be aware of the Android version. It it's only for your own use, no problem but if you distribute your App, it needs to 'ask' the device what Android version is running
You can use the permissions block to request BluetoothScan permission. Your code should not assume that the User gives that permission, so always start the main code rolling after permission success.