Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions