Skip to content

Conversation

ened
Copy link
Collaborator

@ened ened commented Aug 31, 2025

Summary

Fixed iOS periodic background tasks not receiving inputData by storing inputData in UserDefaults when registering tasks and retrieving it when tasks execute.

Breaking Changes (if applicable)

None - this is a bug fix that restores expected functionality.

Fixes #612

Copy link

docs-page bot commented Aug 31, 2025

To view this pull requests documentation preview, visit the following URL:

docs.page/fluttercommunity/flutter_workmanager~648

Documentation is deployed and generated using docs.page.

@ened ened force-pushed the fix/ios-periodic-inputdata branch 4 times, most recently from 1e83df2 to 61a7b02 Compare August 31, 2025 21:15
- Store inputData in UserDefaults when registering periodic tasks
- Retrieve and pass stored inputData when executing periodic tasks
- Fix issue where periodic tasks received nil inputData instead of provided data
- Update documentation with periodic task inputData examples

Closes #612
@ened ened force-pushed the fix/ios-periodic-inputdata branch from 61a7b02 to 67cd113 Compare August 31, 2025 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐞Periodic Task inputData Not Updating via Dart registerPeriodicTask on iOS
1 participant