Open pauljohanneskraft opened 3 hours ago
If the "correct solution" is too hard for now, we may also just think about a reloading option (e.g. on pull down of the view) or an automatic refresh when the view is appearing (possibly also only reloading, if it is empty).
Description
The video list appears empty probably due to a permissions issue after enrolling.
Reproduction
Expected behavior
The video list should be filled with videos, but it appears empty.
Additional context
Users are only allowed to fetch the videos list when fully enrolled. I suspect that the token is not refreshed "fast enough" right after the enrollUser call to be in effect when fetching the videos. We should make sure to somehow not execute any function calls until the token is refreshed.
If the app is closed during/between any of the above mentioned steps, then it may not behave the same way.
Code of Conduct