79329279

Date: 2025-01-04 17:37:26
Score: 1.5
Natty:
Report link

The order when app go background is: inactive -> hidden -> pause

When go foreground: hidden -> inactive -> resumed

And note that when the device at multitasking state: inactive, so you should catch state == AppLifecycleState.inactive, not .paused

See the gif below

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Duy Tran