auto_start_flutter
A Flutter plugin to manage background execution permissions. Supports Android Auto-Start settings (Xiaomi, etc.) and iOS Background App Refresh.
What this package is like to depend on
Last release 4 months ago
30 Mar 2026
Ships unpredictably
gaps range from 1 weeks to 2.3 years
Most releases are documented
notes for 23 of 30 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
32 releases · first in 2021
20 releases in the last 12 months
see the full history below
Release timeline
32 releases · Jan 2021 to Mar 2026Releases
latest 32-
1.4.030 Mar 2026Release notes
Open source →- Major Feature (Phase 3): Added
executeInBackgroundAPI for immediate, headless execution of Dart callbacks without attaching a UI.- Android: Leverages a dedicated headless
FlutterEngineto run background tasks efficiently without disruption. - iOS: Leverages a secondary natively-isolated
FlutterEngineviaFlutterCallbackCacheto run tasks headlessly. - macOS/Windows/Linux: Implemented highly efficient background execution using Dart's native
Isolate.spawnAPI natively.
- Android: Leverages a dedicated headless
- Refactor: Replaced desktop background process cloning with native Dart isolates to improve RAM efficiency, reduce duplicate application instances in desktop environments, and fix compiler warnings on macOS edge cases.
- Documentation Update: Outlined
executeInBackgroundbehavior and required permission contexts for Phase 3 background tasks.
- Major Feature (Phase 3): Added
-
1.3.027 Mar 2026Release notes
Open source →- Feature (Phase 2 - Apple): Added
scheduleTaskimplementation for iOS and macOS natively usingUNUserNotificationCenterfor precise local notifications. - Feature (Phase 2 - Apple): Implemented
getLaunchArgumentsfor iOS and macOS to capture notification payloads when the app receives a scheduled task trigger. - Improvement: Updated Example App with a native interactive time picker to properly demonstrate exact scheduling across supported platforms.
- Feature (Phase 2 - Apple): Added
-
1.2.027 Mar 2026Release notes
Open source →- Improvement (Android): Refined
isAutoStartPermissionlogic to query actual intent resolution via Package Manager, ensuring more accurate availability reporting. - Fix (Windows): Resolved linker errors (
LNK2001) and narrowing conversion warnings (C4244). - Fix (Linux): Resolved undeclared identifier in the plugin implementation.
- Fix (Android): Resolved missing
Logimport.
- Improvement (Android): Refined
-
1.1.016 Mar 2026Release notes
Open source →- Feature (Phase 2): Added
scheduleTaskAPI to schedule top-level Dart callbacks at specific times.- Android: Integrated with
AlarmManagerfor exact alarms even in Doze mode. - Windows: Integrated with Windows Task Scheduler via COM API.
- Linux: Integrated with Systemd Timers natively.
- Android: Integrated with
- Feature: Added
getLaunchArgumentsto detect if the app was woke up by a task or boot. - Breaking Change (Opt-in Permissions): Removed all default permissions from the library manifest. Developers must now manually add permissions (e.g.,
RECEIVE_BOOT_COMPLETED,SCHEDULE_EXACT_ALARM) to their ownAndroidManifest.xml. - Improvement: Enhanced headless engine initialization for more reliable background triggers.
- Feature (Phase 2): Added
-
1.0.006 Mar 2026Release notes
Open source →- Major Release: The "Background Super-Plugin" Update!
- Feature (Phase 1): Added
registerBootCallbackAPI for Android, Windows, macOS, and Linux to run headless Dart code or launch your app when the device boots up.- Android: Uses
BOOT_COMPLETEDintent and spawns a secure background Flutter Engine. - Windows: Modifies Startup Registry.
- macOS: Uses
SMAppServiceto register Login Items natively. - Linux: Generates standardized Autostart
.desktopfiles.
- Android: Uses
- Feature: Added
startForegroundServiceandstopForegroundServiceAPIs for Android to stick a persistent keep-alive notification in the status bar. - Feature: Upgraded Android
disableBatteryOptimizationto use theACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONSdirect system dialog prompt instead of jumping into settings. - Example app updated with UI buttons to cleanly test all Phase 1 capabilities natively.
-
0.7.021 Feb 2026Release notes
Open source →- Implemented native C++ unit tests for Windows and Linux to enhance stability.
- Updated CI/CD workflow to verify builds and test binaries on Linux runners.
- Added Swift Package Manager (SPM) support for macOS to resolve pub.dev analyzer warnings.
-
0.6.020 Feb 2026Release notes
Open source →- Major release including Windows and macOS support.
- Comprehensive documentation updates.
- Cross-platform CI/CD.
-
0.5.217 Feb 2026 -
0.5.117 Feb 2026 -
0.5.017 Feb 2026Release notes
Open source →- Feature: Added Windows support.
- Feature: Added GitHub Actions for cross-platform CI/CD.
- Restructured iOS plugin for improved Swift Package Manager support.
- Updated README to clarify platform limitations regarding checking "enabled" status.
-
0.4.314 Feb 2026 -
0.4.214 Feb 2026 -
0.4.112 Feb 2026 -
0.4.012 Feb 2026Release notes
Open source →- iOS Support: Added support for iOS.
isAutoStartAvailable: ChecksUIBackgroundRefreshStatus.getAutoStartPermission: Opens App Settings.getDeviceManufacturer: Returns "Apple".
- Updated documentation to reflect cross-platform behavior.
- iOS Support: Added support for iOS.
-
0.3.010 Feb 2026Release notes
Open source →- Added
openCustomSettingAPI to open specific settings by package and activity name. - Added support for Lenovo and ZTE/Nubia devices.
- Added
-
0.2.119 Jan 2026 -
0.2.008 Jan 2026Release notes
Open source →- Breaking Change: Migrated Android plugin to Kotlin. Ensure your project supports Kotlin.
getAutoStartPermissionnow returnsFuture<bool>indicating if the settings page was successfully opened.- Added
openAppInfomethod as a fallback to open system App Info settings. - Added
getDeviceManufacturermethod to identify the device manufacturer. - Added support for Transsion devices (Tecno, Infinix, Itel).
- Added support for newer OnePlus devices (ColorOS based).
- Added support for Meizu and Letv.
- Improved intent handling robustness.
-
0.1.711 Dec 2025Nothing published for this version
-
0.1.611 Dec 2025Nothing published for this version
-
0.1.519 Nov 2025Nothing published for this version
-
0.1.407 Mar 2025Nothing published for this version
-
0.1.323 Dec 2024Nothing published for this version
-
0.1.130 Aug 2022Nothing published for this version
-
0.1.024 Dec 2021Nothing published for this version
-
0.0.8-nullsafety22 Sep 2021 pre-release -
0.0.7-nullsafety.022 Sep 2021 pre-release -
0.0.603 Feb 2021 -
0.0.531 Jan 2021 -
0.0.429 Jan 2021 -
0.0.328 Jan 2021 -
0.0.228 Jan 2021 -
0.0.128 Jan 2021