Open Rimjhim28 opened 6 years ago
@ZoroarkDarkrai That sounds great! Thank you for your suggestion. Even I have thought of a similar solution. Well! As mentioned, I would like work on this.
@m-murad please approve the issue.
Please send a PR
Thanks @m-murad Will be sending the PR soon!!
@m-murad @saurabhjn76 Can you please help me here. I am facing tough time trying to resolve this.
I also encountered this bug. Here is a way to reproduce/test it:
Related to #1001. The solution to these issues might be the same.
@isabelcosta this issue concerns activity lifecycle of VocabMatch particularly while #1001 would require identification of scenario user chooses on the map. Would you mind explaining the solution in a more elaborate way that might go with both of them.
@isabelcosta I think you have got the issue worng. Please refer to gifs provided to have a clear picture.
Another way to get this bug:
@Rimjhim28 This issue also includes the case when user presses back button while playing the game?
@Rimjhim28 were you working on this?
@debanjanah , As I was busy with GSoC, aayushi wanted to work on this. We had a chat on this on project channel. She can surely fix this. @aayushinigam , yes! The issue also includes the case when the user presses back button.
what is happening is that minigames are running in the background, also because of that, the next scenario is unlocked even if the minigame isn't completed. and on accessing the previous scenarios, the current incomplete minigame starts irrespective of which scenario it is. it can't be identified for the minesweeper game because the game doesn't complete itself like vocabmatch as minesweeper requires user feedback whereas vocabmatch can be completed without explicit user feedback (i.e game is still completed even when you don't move the tiles)
@debanjanah Shouldn't we then have two different issues for both the mini games because it will involve making changes in two different packages - 1.minesweeper 2.vocab_match_game ? I'm guessing changes will have to be made in their respective SessionManagers and GameActvities. Also, about unlocking of next scenarios - they get unlocked even if back/home is pressed from Tutorials screen. So, solution for this issue and for issue of getting scenarios unlocked might differ.
Description
If the vocab match game is left in middle and the user migrates out of the app, the game still continues to completion in the background and relaunches itself once the game gets completed.
Mocks
The issue can be reproduced by leaving the game in the middle, migrating to some other place like home screen while allowing the app to continue in the background. After some time the app would relaunch itself when the game is completed.
NOTE: The relaunching of game completeion screen from map screen and device's home screen is all by itself.
Acceptance Criteria
Update
Definition of Done
Estimation
24 hours
I would like to work on this.