-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement User Nudging #140
Conversation
This reverts commit cc8e240.
# Conflicts: # lib/pages/contact_share_page.dart
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change the picture of the person going around? I can't really tell that it is a person. Maybe not to birds eye view just a regular person
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I send a goal from one phone to the other but it doesn't show up on the receiving phone
@saachipahwa Do both phones have this version? Also make sure you've reset it (i.e. gone through intro screen again). |
Changed picture, haven't tested (cos I don't have access to device with step counter atm) but I had done it so it automatically resizes the input image so it should work. |
Both phones had this version yeah and I think I did but I'll test again now |
The steps circle works great! Is there a way to make the person go clockwise instead of anticlockwise? Also is there a delay on the 'someone sent you a steps goal' notification? It took quite a while. |
Up to half an hour delay on the notifications, and maybe even more, it's up to the OS to display them. On average it should be 15 minutes though. |
@saachipahwa Can you send a gif/video here of the steps circle to show TA? Or you could do a live demo on Tues if you prefer. |
I shook the phone around and steps updated: |
Partially closes #125.
This allows the user to send someone in their network a nudge to walk a certain amount of steps (up to 70,000). The receiver will receive a notification and can view their progress in the network page, which uses a custom UI painter and a bit of trigonometry to display the circular indication with a rotating image.
Once the receiver reaches their steps goal (which begins once they first receive the notification), they and the original sender will both receive notifications.
I would add a screenshot/gif but my phone doesn't have a step counter.