lifecycle_guard_ios 1.0.1 copy "lifecycle_guard_ios: ^1.0.1" to clipboard
lifecycle_guard_ios: ^1.0.1 copied to clipboard

iOS implementation of lifecycle_guard for mission-critical background execution.

🍎 lifecycle_guard_ios #

The robust iOS implementation for mission-critical background execution.

This package ensures your background tasks get the execution time they need on iOS devices using native BGTaskScheduler APIs.

GitHub pub version Platform


🎬 Demo #

lifecycle_guard Demo

⚙️ iOS Native Setup #

To allow background execution on iOS, you must configure your Info.plist and app capabilities.

1. Enable Background Modes #

In Xcode, go to Signing & Capabilities -> + Capability -> Background Modes. Check the following:

  • Background fetch
  • Background processing

2. Info.plist Configuration #

Add the following keys to your ios/Runner/Info.plist:

<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
    <string>com.crealify.lifecycle_guard.background_task</string>
</array>

🦾 Features (iOS) #

  • BGTaskScheduler Integration: Official Apple-recommended way for background work.
  • Resource Management: Respects iOS system budgets while ensuring critical data sync gets priority.
  • Isolate Protection: Boots a lightweight Dart Isolate to handle the task logic.

📄 License #

BSD 3-Clause License — see LICENSE for details.


Built with ❤️ by Crealify

5
likes
0
points
202
downloads

Publisher

unverified uploader

Weekly Downloads

iOS implementation of lifecycle_guard for mission-critical background execution.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, lifecycle_guard_platform_interface

More

Packages that depend on lifecycle_guard_ios

Packages that implement lifecycle_guard_ios