MusicAsLanguage / mobileapp

Mobile app code for the project.
MIT License
1 stars 1 forks source link

Add support to use web api calls to get/set the activity states #28

Closed linsungc closed 3 years ago

linsungc commented 3 years ago

1) Call getStatus to retrieve the activity status when loading the list of activities; 2) Store the activity status by calling updateStatus when exiting from the current activity; 3) Add a workaround to delay getStatus call to give time to let updateStatus finish 4) TODO: needs to add refreshtoken support. Currently, the status API access would expire and require re-login after x days

Demo: https://user-images.githubusercontent.com/76028304/122603378-13d69a80-d029-11eb-96e1-4065252117e6.mp4