flutter_lifecycle_example
This is an example to check the difference in Applifecycle between Flutter platforms.
Android
minimize background
backgroundkill- When minimized, you can see that there is no change in AppLifecycle State.
- When you go to the foreground after entering the background, you can see that there is a change in AppLifecycleState in the order of inactive - paused - resumed.
- If you kill the app directly in the background, you can see that a separate State change is not detected.
IOS
minimize background
backgroundkill- When minimized, you can see the status change from inactive - resume.
- In background, you can see the status change of inactive - paused - inactive - resume.
- When the app kills in the background, you can see the status change from inactive - paused - detached.
On this page
Languages
C++43.2%CMake35.7%Dart7.2%Ruby5.1%HTML3.6%C2.7%Swift2.2%Kotlin0.3%Objective-C0.1%
Contributors
Created April 6, 2023
Updated February 8, 2025







