Queue UI requests from page fragments while app in background
> As of now, note that this will create silent bugs.
for that, there could be a enqueing for the webview reload request (which is what calls congratsInfo) to run when the lifecycle is at least onStart. If there is more than one request, ignore the older ones
Originally posted by @BrayanDSO in https://github.com/ankidroid/Anki-Android/issues/15690#issuecomment-1967596903
Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
Hi! I'd like to work on this one, could I be assigned?
I looked at the current state first. Since this was filed, CongratsPage has gained the reload part of the proposal: a missedRefresh flag is set while the screen isn't STARTED, and on the next STARTED it gets consumed and collapsed into a single reload. So congratsInfopolling is covered.
The general case is still open. When the screen is backgrounded, PageFragment.handlePostRequest still runs UI requests against the stopped activity right away.