P0SEID0N / BDOAPP

0 stars 0 forks source link

Boss timers - background refresh of notification #1

Open P0SEID0N opened 3 years ago

P0SEID0N commented 3 years ago

When the app is in the background, currently it does recalculate all of the boss timers and sets notifications for them all. However this ONLY happens upon the app waking back up (brought back to the foreground). If a user leaves the app in the background after a boss spawns, the app will never be able to calculate the next boss spawn timer, therefore they will not be informed if they do not open the app of the next boss spawn after the one they saw.

Issue breakdown:

  1. The app is open
  2. The user closes the app (background)
  3. A boss notification comes in, but the user DOES NOT open the app
  4. Another boss spawn comes around (for the same boss)

When we hit step 4, the user will NOT be notified by a notification on screen for the boss spawning because they never opened the app (brought it back to the foreground) after the first instance of that boss spawned.

This issue is VERY edge case and shouldnt be that common but it will be asked about.