[SOLVED] Bluetooth App crashes without warning

I am currently developing a thunkable App that uses BLE. However, I found that if the BLE on the iPhone is not enable, and the user starts the BLE scan process, the APP simply goes blank without any warning that BLE should be enabled or is disabled on the device.


Isn’t this something the thunkable appp should warn or the user has to implement this warning to prevent app crashes like this one?

What would be the best approach here to improve the user experience?

Thanks

Hello @thunkable28 :wave:
What do you mean the app is crashing?
Here is an example of how the blocks must be to
work properly
image

Hi @ioannis,
Ok, I got this sorted out.
I found that if I did not handle the error, then the App would go blank if BLE is not turned on.
The following worked and the App is happy now and is able to display the BLE error.

Thanks for pointing this out.

1 Like