Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- Use melos to run all tests: `melos run test`
- Or run tests in individual packages:
- `cd workmanager_android && flutter test`
- `cd workmanager_apple && flutter test`
- `cd workmanager_apple && flutter test`
- `cd workmanager && flutter test`
- Before running tests in workmanager package, ensure mocks are up-to-date: `melos run generate:dart`

Expand All @@ -25,4 +25,11 @@
- **Test edge cases**: null inputs, error conditions, boundary values

## Complex Component Testing
- **BackgroundWorker**: Cannot be unit tested due to Flutter engine dependencies - use integration tests
- **BackgroundWorker**: Cannot be unit tested due to Flutter engine dependencies - use integration tests

## Changelog Guidelines
- **User-focused content only**: Write from end user perspective, not internal implementation details
- **No AI agent progress**: Don't document debugging steps, build fixes, or internal development process
- **What matters to users**: Breaking changes, new features, bug fixes that affect their code
- **Example of bad changelog entry**: "Fixed Kotlin null safety issues with androidx.work 2.10.2 type system improvements"
- **Example of good changelog entry**: "Fixed periodic tasks not respecting frequency changes"
2 changes: 1 addition & 1 deletion example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
attributes = {
BuildIndependentTargetsInParallel = YES;
LastSwiftUpdateCheck = 1250;
LastUpgradeCheck = 1640;
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "The Chromium Authors";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1640"
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
dependencies:
path_provider: ^2.1.5
shared_preferences: ^2.3.0
permission_handler: ^11.3.1
permission_handler: ^12.0.1
flutter:
sdk: flutter
workmanager:
Expand Down
2 changes: 1 addition & 1 deletion workmanager/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
workmanager_apple: ^0.8.0

dev_dependencies:
test: ^1.25.0
test: ^1.25.15
mockito: ^5.4.4
build_runner: ^2.4.9
get_it: ^8.0.0
Expand Down
4 changes: 4 additions & 0 deletions workmanager_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Future

### Dependencies & Infrastructure Updates
* Updated androidx.work from 2.9.0 to 2.10.2 with improved Flow-based observability
* Regenerated Pigeon files with updated version 26.0.0

### Breaking Changes
* **BREAKING**: Update `registerPeriodicTask` to use `ExistingPeriodicWorkPolicy` instead of `ExistingWorkPolicy`
* This provides better type safety and mirrors Android's native API
Expand Down
2 changes: 1 addition & 1 deletion workmanager_android/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ android {
}

dependencies {
def work_version = "2.9.0"
def work_version = "2.10.2"
implementation "androidx.work:work-runtime:$work_version"
implementation "androidx.concurrent:concurrent-futures:1.1.0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ object DebugHelper {
ctx: Context,
threadIdentifier: Int,
dartTask: String,
payload: Map<String, Any>? = null,
payload: Map<String, Any?>? = null,
fetchDuration: Long,
result: ListenableWorker.Result,
) {
Expand All @@ -56,7 +56,7 @@ object DebugHelper {
ctx: Context,
threadIdentifier: Int,
dartTask: String,
payload: Map<String, Any>? = null,
payload: Map<String, Any?>? = null,
callbackHandle: Long,
callbackInfo: FlutterCallbackInformation?,
dartBundlePath: String?,
Expand Down
Loading
Loading