workmanager_platform_interface 0.9.1+1 copy "workmanager_platform_interface: ^0.9.1+1" to clipboard
workmanager_platform_interface: ^0.9.1+1 copied to clipboard

A common platform interface for the workmanager plugin.

workmanager_platform_interface #

pub package pub points license

A common platform interface for the workmanager plugin.

Description #

This package provides the common platform interface for the workmanager plugin, defining the API contract that platform-specific implementations must follow. It ensures consistency across different platform implementations.

Usage #

This interface is only relevant for packages that implement workmanager for a specific platform. App developers should use the main workmanager package instead.

To implement a new platform-specific implementation of workmanager, extend WorkmanagerPlatform with an implementation that performs the platform-specific behavior, and when you register your plugin, set the default WorkmanagerPlatform by calling WorkmanagerPlatform.instance = MyWorkmanagerPlatform().

Note on Breaking Changes #

Strongly prefer non-breaking changes (such as adding a method to the interface) over breaking changes for this package.

See https://flutter.dev/go/platform-interface-breaking-changes for a discussion on why a less-clean interface is preferable to a breaking change.

Documentation #

For detailed API documentation and usage examples, please refer to the main workmanager package documentation.

0
likes
140
points
39k
downloads

Publisher

unverified uploader

Weekly Downloads

A common platform interface for the workmanager plugin.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

flutter, meta, plugin_platform_interface

More

Packages that depend on workmanager_platform_interface