App crash on turning Bluetooth on/off within app

Words
164
Reading
1 min
Listen
Play
8y

Expected behavior

I expect that when I click on the Bluetooth option in the settings menu and turn it on, I am shown a list of devices I can connect to.

Actual behavior

In contrast to the expected behavior, turning the Bluetooth on or off within the app throws in an error page with two buttons namely; Error details and restart app buttons(see image below). The only way to go about this is to manually turn on Bluetooth before starting the app.

How to reproduce

Download and open the open scale android app, click on the menu icon. Click on the settings menu option. After which you click on the Bluetooth option- Make sure your device Bluetooth is turned off. You should see a prompt asking to turn Bluetooth on. Click on either the deny or the allow option and you should see this error.

Operating system: Android 4.4(KitKat)
Device: Tecno Y6

Recording Of The Bug

open_scale_bug.png



Posted on Utopian.io - Rewarding Open Source Contributors

App crash on turning Bluetooth on/off within app | Ecency