lifecycle library
Maps Flutter app lifecycle events to AnySyncAccount.suspend and AnySyncAccount.resume (design ยง4.3). The only library of this package that imports Flutter; the main library never exports it.
Classes
- AnySyncLifecycle
-
Suspends account when the app goes to the background and resumes it
when it comes back: on iOS at once on
paused(the shim wraps the close in a background task); on Android androidDelay afterpaused, so a short trip to another app does not close the SDK. Best effort: the OS may end the process first.