powerup-android
powerup-android copied to clipboard
Matching tiles game freezes if home button pressed and app reopened
Description
The matching tiles game freezes if the home button is pressed midway and again resumed. It causes infinite number of loops. To recreate the issue, press home button midway and then reopen the app.
Mocks
Acceptance Criteria
Update [Required]
- [ ] Ensure game resumes if home button pressed and app opened again.
Definition of Done
- [ ] All of the required items are completed.
- [ ] Approval by 1 mentor.
Estimation
24 hours
I'd like to take up the issue, can I do it?
This is a valid issue! Please work on it and send a PR. :)
Hey, that's great, I'll work on it. :+1:
Hey so I am currently working on adding the onRestart() function to the respective class. I could overcome partially, I'll update again once I'm fully done.
Hey I've sent a PR, please review it and let me know if it there's anything to change, I'd be happy to do so. I have also uploaded a relevant gif to make things clearer. Thanks!