language-transfer / lt-app

React Native application for Language Transfer
https://www.languagetransfer.org/
Other
291 stars 26 forks source link

Lesson Progress Bug #32

Open Alvynskio opened 3 years ago

Alvynskio commented 3 years ago

Summary:

Sentence Description: Current lesson finishes and auto progress to next lesson while app in background, when returning app to foreground, old lesson is shown as playing instead of new one. Also, old lesson is not marked as finished.

General conclusion I seem to be able to draw:

Execution Steps:

  1. App in foreground, play lesson (n).
  2. Turn screen off.
  3. Let playback continue to complete lesson (n) and auto progress to lesson (n+1). Note, feel free to pause and play as much as you like using your headset buttons while this is happening.
  4. Turn screen on and, before unlocking, notice the media playback widget shows you are currently on lesson (n+1), as expected. See picture 1
  5. While playing (because I haven't tested this while paused), unlock screen to return app to foreground and notice that current playback indicates you are still on lesson (n+1) as expected but the colorful full-screen lesson playback screen shows you are on lesson (n) instead. See picture 2
  6. Playing and pausing now, while still on that colorful playback screen, should function normally as if you were on lesson (n+1) instead of what it is showing as lesson (n).
  7. Now go back one page to return to that language's home page and notice that it also shows you are on lesson (n) instead of on lesson (n+1). See picture 3
  8. If you press play again, you will start lesson (n) playback instead of where you left off on lesson (n+1).
  9. At this point you may also notice that lesson (n) is not marked as finished, even though it should be.

Pictures:

Picture 1 pic1

Picture 2 pic2

Picture 3 pic3

SyntaxBlitz commented 3 years ago

Thanks for the report! Pinging @schonfeld who's able to test on iOS