I have an app that has been running perfectly since February 2022 and I use it every day. I recently discovered that it had a minor bug I needed to address. The change for said bug was only to change the way my clock counts seconds:
Old:
Brand is Oppo A95.
I can give the bluetooth blocks but they did not change. They app has been working perfectly for more than a year until I changed the clock seconds counter. No other changes were made
You've provided some minor information about the clock, but you haven't written the most important one. Are you using bluetooth component or BLE extension?
I never suggested that. It wouldn't work because there are many Android versions that are not numeric (e.g. 2.3.3, 4.4.4, 5.0.1 or 6.0.1 or 7.1.2, ...).
Check if you have any errors in blocks. I hope you didn't remove the old version of the extension before adding the new one...because then you removed all the BLE blocks.
Haha! Yes, the first time, I did delete the BLE and install new BLE and yes a ton of errors (I have been away from coding for a year). I restored from a .aia and installed the new BLE the second time. There are no errors but it refuses to compile.
It's impossible for the app to not compile only after adding the ble extension. Perhaps the other extensions you use are outdated and need to be updated. Publish your project aia here. After that, you can check if the scan is working in Companion.
I would be happy to do that Patryk but the app has 8 screens, with 700 -2000 blocks per screen; a bit overwhelming.
Considering your certainty that "its impossible for the app to not compile" I will attempt a few things in the next couple days to see if I can narrow this down some.
I sincerely appreciate your help and will get back to you as soon as I can hopefully get a clue
Make a small sample project with the ble extension, where you will be able to connect to your device and send/read data. If all goes well, adopt it for your big project.
Note: The bluetooth permissions should be requested automatically on Android 12+. However, I have explicitly requested them here for teaching and documentation purposes (among other things, to be able to trigger and display the PermissionGranted events).