UNPKG

expo-background-task

Version:

Expo Android and iOS module for Background Task APIs

344 lines (173 loc) 9.62 kB
# Changelog ## Unpublished ### 🛠 Breaking changes ### 🎉 New features ### 🐛 Bug fixes ### 💡 Others ## 57.0.6 — 2026-07-22 _This version does not introduce any user-facing changes._ ## 57.0.5 — 2026-07-17 _This version does not introduce any user-facing changes._ ## 57.0.4 — 2026-07-15 _This version does not introduce any user-facing changes._ ## 57.0.3 — 2026-07-15 _This version does not introduce any user-facing changes._ ## 57.0.2 — 2026-07-03 _This version does not introduce any user-facing changes._ ## 57.0.1 — 2026-06-27 _This version does not introduce any user-facing changes._ ## 57.0.0 — 2026-06-25 _This version does not introduce any user-facing changes._ ## 56.0.19 — 2026-06-15 _This version does not introduce any user-facing changes._ ## 56.0.18 — 2026-06-10 _This version does not introduce any user-facing changes._ ## 56.0.17 — 2026-06-05 _This version does not introduce any user-facing changes._ ## 56.0.16 — 2026-05-29 _This version does not introduce any user-facing changes._ ## 56.0.15 — 2026-05-26 ### 🐛 Bug fixes - [iOS] Fix precompiled XCFramework builds resolving the task service helper. ([#46188](https://github.com/expo/expo/pull/46188) by [@chrfalch](https://github.com/chrfalch)) ## 56.0.14 — 2026-05-23 _This version does not introduce any user-facing changes._ ## 56.0.13 — 2026-05-21 _This version does not introduce any user-facing changes._ ## 56.0.12 — 2026-05-21 ### 🐛 Bug fixes - Fix an ES module import error in the typed config plugin. ([#46089](https://github.com/expo/expo/pull/46089) by [@zoontek](https://github.com/zoontek)) ## 56.0.11 — 2026-05-20 _This version does not introduce any user-facing changes._ ## 56.0.10 — 2026-05-19 _This version does not introduce any user-facing changes._ ## 56.0.9 — 2026-05-15 _This version does not introduce any user-facing changes._ ## 56.0.8 — 2026-05-13 _This version does not introduce any user-facing changes._ ## 56.0.7 — 2026-05-13 _This version does not introduce any user-facing changes._ ## 56.0.6 — 2026-05-11 _This version does not introduce any user-facing changes._ ## 56.0.5 — 2026-05-08 _This version does not introduce any user-facing changes._ ## 56.0.4 — 2026-05-07 _This version does not introduce any user-facing changes._ ## 56.0.3 — 2026-05-06 _This version does not introduce any user-facing changes._ ## 56.0.2 — 2026-05-06 _This version does not introduce any user-facing changes._ ## 56.0.1 — 2026-05-06 _This version does not introduce any user-facing changes._ ## 56.0.0 — 2026-05-05 ### 🛠 Breaking changes - Bumped minimum iOS/tvOS version to 16.4, macOS to 13.4. ([#43296](https://github.com/expo/expo/pull/43296) by [@tsapeta](https://github.com/tsapeta)) ### 🎉 New features - Expose a typed config plugin function ([#44098](https://github.com/expo/expo/pull/44098) by [@zoontek](https://github.com/zoontek)) ### 🐛 Bug fixes - [Android] Preserve WorkManager cancellation semantics when a background task worker is cancelled. ([#44667](https://github.com/expo/expo/pull/44667) by [@chrfalch](https://github.com/chrfalch))- [Android] Prevent background task registration from replacing an already scheduled or running worker. ([#44663](https://github.com/expo/expo/pull/44663) by [@chrfalch](https://github.com/chrfalch)) ## 55.0.17 - 2026-04-21 ### 🐛 Bug fixes - [iOS] Fixed background task execution failing with "Could not find TaskService module" due to broken `ModuleRegistryProvider.singletonModules()` lookup after `EXTaskService` was migrated from `EXSingletonModule` to `NSObject`. ([#44646](https://github.com/expo/expo/pull/44646) by [@xTMNTxRaphaelx](https://github.com/xTMNTxRaphaelx)) ## 55.0.15 - 2026-04-10 ### 🐛 Bug fixes - [iOS] Fixed a race when rescheduling background tasks concurrently. ([#44666](https://github.com/expo/expo/pull/44666) by [@chrfalch](https://github.com/chrfalch)) ## 55.0.14 - 2026-04-09 _This version does not introduce any user-facing changes._ ## 55.0.13 - 2026-04-07 _This version does not introduce any user-facing changes._ ## 55.0.12 - 2026-04-02 _This version does not introduce any user-facing changes._ ## 55.0.11 - 2026-04-02 _This version does not introduce any user-facing changes._ ## 55.0.10 - 2026-03-17 _This version does not introduce any user-facing changes._ ## 55.0.9 - 2026-02-26 _This version does not introduce any user-facing changes._ ## 55.0.8 — 2026-02-25 _This version does not introduce any user-facing changes._ ## 55.0.7 — 2026-02-20 _This version does not introduce any user-facing changes._ ## 55.0.6 — 2026-02-16 _This version does not introduce any user-facing changes._ ## 55.0.5 — 2026-02-08 _This version does not introduce any user-facing changes._ ## 55.0.4 — 2026-02-03 _This version does not introduce any user-facing changes._ ## 55.0.3 — 2026-01-27 _This version does not introduce any user-facing changes._ ## 55.0.2 — 2026-01-26 _This version does not introduce any user-facing changes._ ## 55.0.1 — 2026-01-22 _This version does not introduce any user-facing changes._ ## 55.0.0 — 2026-01-21 _This version does not introduce any user-facing changes._ ## 1.0.10 - 2025-12-05 _This version does not introduce any user-facing changes._ ## 1.0.9 - 2025-11-17 _This version does not introduce any user-facing changes._ ## 1.0.8 - 2025-09-18 ### 🎉 New features - [iOS] Added support for task expiration handler on iOS. ([#39773](https://github.com/expo/expo/pull/39773) by [@chrfalch](https://github.com/chrfalch)) ### 🐛 Bug fixes - [iOS] Fixed timing issue where background task iOS handler was not registered when we try to schedule a task. ([#39769](https://github.com/expo/expo/pull/39769) by [@chrfalch](https://github.com/chrfalch)) ## 1.0.7 — 2025-09-11 _This version does not introduce any user-facing changes._ ## 1.0.6 — 2025-09-02 _This version does not introduce any user-facing changes._ ## 1.0.5 — 2025-08-31 _This version does not introduce any user-facing changes._ ## 1.0.4 — 2025-08-27 _This version does not introduce any user-facing changes._ ## 1.0.3 — 2025-08-25 _This version does not introduce any user-facing changes._ ## 1.0.2 — 2025-08-16 _This version does not introduce any user-facing changes._ ## 1.0.1 — 2025-08-15 _This version does not introduce any user-facing changes._ ## 1.0.0 — 2025-08-13 ### 🐛 Bug fixes - [iOS] Rethrow obj-c exception as swift error. ([#38714](https://github.com/expo/expo/pull/38714) by [@jakex7](https://github.com/jakex7)) ## 0.2.8 - 2025-07-01 ### 💡 Others - Remove "Please" from warnings and errors ([#36862](https://github.com/expo/expo/pull/36862) by [@brentvatne](https://github.com/brentvatne)) ## 0.2.7 — 2025-05-08 ### 💡 Others - Exposed testing method for background tasks on both iOS and Android ([#36732](https://github.com/expo/expo/pull/36732) by [@chrfalch](https://github.com/chrfalch)) - Simplified how workers are started and stopped. Removed battery constraint on Android. ([#36705](https://github.com/expo/expo/pull/36705) by [@chrfalch](https://github.com/chrfalch)) ## 0.2.6 — 2025-04-30 _This version does not introduce any user-facing changes._ ## 0.2.5 — 2025-04-25 ### 💡 Others - Removed throwing an exception if registerTaskAsync/unregisterTaskAsync is called on a task that is already registered/unregistered ([#36393](https://github.com/expo/expo/pull/36393) by [@chrfalch](https://github.com/chrfalch)) ## 0.2.4 — 2025-04-14 _This version does not introduce any user-facing changes._ ## 0.2.3 — 2025-04-11 ### 💡 Others - Added warning about Background Tasks not being supported in Expo Go ([#36063](https://github.com/expo/expo/pull/36063) by [@chrfalch](https://github.com/chrfalch)) ## 0.2.2 — 2025-04-09 _This version does not introduce any user-facing changes._ ## 0.2.1 — 2025-04-08 ### 🐛 Bug fixes - [android] added expo-background-task to Expo Go's configuration ([#36000](https://github.com/expo/expo/pull/36000) by [@chrfalch](https://github.com/chrfalch)) ## 0.2.0 — 2025-04-04 _This version does not introduce any user-facing changes._ ## 0.1.4 - 2025-04-02 ### 🐛 Bug fixes - [Android] added proguard rules for background-task consumer ([#35816](https://github.com/expo/expo/pull/35816) by [@chrfalch](https://github.com/chrfalch)) ### 💡 Others - added error handling when registering/unregistering invalid tasks with the TaskManager. ([#35734](https://github.com/expo/expo/pull/35734) by [@chrfalch](https://github.com/chrfalch)) ## 0.1.3 - 2025-03-14 ### 💡 Others - added throwing an exception if registerTask is run on an iOS Simulator or a device without background modes enabled ([#35350](https://github.com/expo/expo/pull/35350) by [@chrfalch](https://github.com/chrfalch)) - [apple] Migrate remaining `expo-module.config.json` to unified platform syntax. ([#34445](https://github.com/expo/expo/pull/34445) by [@reichhartd](https://github.com/reichhartd)) ## 0.1.2 - 2025-02-14 _This version does not introduce any user-facing changes._ ## 0.1.1 - 2025-01-31 ### 💡 Others - [Android] Started using expo modules gradle plugin. ([#34431](https://github.com/expo/expo/pull/34431) by [@chrfalch](https://github.com/chrfalch)) ## 0.0.1 — 2025-01-21 ### 💡 Others - Update README description ## 0.0.0 — 2025-01-21 ### 🎉 New features - Added expo-background-task package ([#33438](https://github.com/expo/expo/pull/33438) by [@chrfalch](https://github.com/chrfalch))