Skip to content

[Request]: Refactor plugins to a two package architecture #1226

@miquelbeltran

Description

@miquelbeltran

Plugin

all

Use case

As discussed internally by the maintainer team, the packages should be refactored, so all platform implementations must be moved into the same package.

e.g. before:

  • connectivity_plus (Contains Android and iOS implementations)
  • connectivity_plus_platform_inteface
  • connectivity_plus_macos
  • connectivity_plus_linux
  • connectivity_plus_web
  • connectivity_plus_windows

e.g. after:

  • connectivity_plus (Contains Android, iOS, Windows, Linux, macOS, and web implementations)
  • connectivity_plus_platform_inteface

There are two main reasons to do this:

  1. Easier to maintain and collaborate.
  2. Avoid dependency issues (diamond dependency problem)

Leaving the platform interface package for each one of them helps with extendability in the future.

Proposal

Refactor the following packages:

  • connectivity_plus
  • device_info_plus
  • network_info_plus
  • package_info_plus
  • sensors_plus
  • share_plus

Note: This refactors should be done by the maintainers and not by external collaborators.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions