Off-Top-App / off-top-flutter

Repository for our mobile client application.
0 stars 2 forks source link

OT-FocusVibration | Added vibration for when the focus score is false #43

Closed henrydinhd closed 4 years ago

henrydinhd commented 4 years ago

What I did: To be able to trigger a vibration and print statement when the focus score is false.

How to test: -Have the off-top app running -Have producer.py in off-top-python running -Start recording so the app can get your focus score. The emulator itself will not show vibration unless you are testing it on a real device, but I've added a print statement so when the focus score is false, it will print out "medium impact vibration" in the off-top-flutter terminal. Screenshot (44) Screenshot (45)

tonynguyen98 commented 4 years ago

Was able to test on a physical Android device and it's working as intended.