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
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