powerup-android icon indicating copy to clipboard operation
powerup-android copied to clipboard

Matching tiles game freezes if home button pressed and app reopened

Open apoorva-mk opened this issue 6 years ago • 5 comments

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

whatsappvideo20190124at61

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

apoorva-mk avatar Jan 24 '19 13:01 apoorva-mk

I'd like to take up the issue, can I do it?

apoorva-mk avatar Jan 24 '19 13:01 apoorva-mk

This is a valid issue! Please work on it and send a PR. :)

Rimjhim28 avatar Jan 25 '19 09:01 Rimjhim28

Hey, that's great, I'll work on it. :+1:

apoorva-mk avatar Jan 25 '19 10:01 apoorva-mk

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.

apoorva-mk avatar Jan 26 '19 19:01 apoorva-mk

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!

apoorva-mk avatar Jan 28 '19 19:01 apoorva-mk