Skip to main content

syncache_workmanager 0.1.0 copy "syncache_workmanager: ^0.1.0" to clipboard
syncache_workmanager: ^0.1.0 copied to clipboard

Background flush for Syncache outbox mutations. Wires workmanager's periodic and one-off background tasks to the Syncache mutation outbox so offline writes sync even when the app process has been killed.

110/ 160
pub points
17
downloads

We analyzed this package 8 days ago, and awarded it 110 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

28 out of 28 API elements (100.0 %) have documentation comments.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:syncache_workmanager/syncache_workmanager.dart that imports:
  • package:syncache_workmanager/src/registration.dart that imports:
  • package:workmanager/workmanager.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:syncache_workmanager/syncache_workmanager.dart that imports:
  • package:syncache_workmanager/src/registration.dart that imports:
  • package:workmanager/workmanager.dart that declares support for platforms: Android, iOS, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:syncache_workmanager/syncache_workmanager.dart that imports:
  • package:syncache_workmanager/src/registration.dart that imports:
  • package:workmanager/workmanager.dart that imports:
  • package:workmanager/src/workmanager_impl.dart that imports:
  • package:workmanager_web/workmanager_web.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:syncache_workmanager/syncache_workmanager.dart that imports:
  • package:syncache_workmanager/src/registration.dart that imports:
  • package:workmanager/workmanager.dart that imports:
  • package:workmanager/src/workmanager_impl.dart that imports:
  • package:workmanager_web/workmanager_web.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:syncache_workmanager/syncache_workmanager.dart that imports:
  • package:syncache_workmanager/src/registration.dart that imports:
  • package:workmanager/workmanager.dart that imports:
  • package:workmanager/src/workmanager_impl.dart that imports:
  • package:workmanager_web/workmanager_web.dart that declares support for platforms: Web.
Package does not support platform `Web`.

Because:

  • package:syncache_workmanager/syncache_workmanager.dart that imports:
  • package:syncache_workmanager/src/registration.dart that imports:
  • package:workmanager/workmanager.dart that imports:
  • package:workmanager/src/workmanager_impl.dart that imports:
  • package:workmanager_apple/workmanager_apple.dart that declares support for platforms: iOS, macOS.

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:syncache_workmanager/syncache_workmanager.dart that imports:
  • package:syncache_workmanager/src/registration.dart that imports:
  • package:workmanager/workmanager.dart that imports:
  • package:workmanager/src/workmanager_impl.dart that imports:
  • package:workmanager_linux/workmanager_linux.dart that imports:
  • package:workmanager_linux/src/process_runner.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
syncache ^0.6.0 0.6.0 0.6.0
workmanager ^0.10.0 0.10.10 0.10.10
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
listen - 1.0.1 1.0.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.4.4 2.4.4
workmanager_android - 0.10.9 0.10.9
workmanager_apple - 0.9.11 0.9.11
workmanager_linux - 0.1.1+1 0.1.1+1
workmanager_platform_interface - 0.10.5 0.10.5
workmanager_web - 0.2.0 0.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_NAMED_PARAMETER - lib/src/registration.dart:70:5 - The named parameter 'expedited' isn't defined.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.19, Flutter 3.50.0, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
17
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Background flush for Syncache outbox mutations. Wires workmanager's periodic and one-off background tasks to the Syncache mutation outbox so offline writes sync even when the app process has been killed.

Repository (GitHub)
View/report issues
Contributing

Topics

#cache #offline-first #background #workmanager

License

MIT (license)

Dependencies

flutter, syncache, workmanager

More

Packages that depend on syncache_workmanager