Skip to content

Linux dartPlugin auto registration - #574

Merged
miquelbeltran merged 14 commits into
fluttercommunity:mainfrom
pr-Mais:linux-registration
Oct 27, 2021
Merged

Linux dartPlugin auto registration#574
miquelbeltran merged 14 commits into
fluttercommunity:mainfrom
pr-Mais:linux-registration

Conversation

@pr-Mais

@pr-Mais pr-Mais commented Oct 21, 2021

Copy link
Copy Markdown
Member

Description

Remove the manual endorsement for Linux implementation and add registerWith & implements keyword to let Flutter auto register the Dart Linux instance for all plugins.

Related Issues

None.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (flutter analyze) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
  • No, this is not a breaking change.

@pr-Mais
pr-Mais requested a review from jpnurmi October 21, 2021 17:25
@pr-Mais
pr-Mais force-pushed the linux-registration branch from 3da2633 to 622dc76 Compare October 21, 2021 17:41
@jpnurmi

jpnurmi commented Oct 21, 2021

Copy link
Copy Markdown
Member

Thanks for cleaning it up! 👍

@pr-Mais
pr-Mais marked this pull request as ready for review October 21, 2021 18:36
@pr-Mais pr-Mais added battery_plus Battery Plus Plugin connectivity_plus Connectivity Plus device_info_plus linux network_info_plus package_info_plus stuff related to package_info_plus share_plus Feature, Enhancement, Bug Fixes for Share Plus Plugin windows labels Oct 21, 2021
@mhadaily mhadaily added Hacktoberfest Issues taking part in Hacktoberfest hacktoberfest-accepted labels Oct 22, 2021
@pr-Mais
pr-Mais force-pushed the linux-registration branch from 2aa7175 to 87bba71 Compare October 22, 2021 10:25
@pr-Mais
pr-Mais force-pushed the linux-registration branch from 87bba71 to af7db2f Compare October 22, 2021 10:27
@miquelbeltran

Copy link
Copy Markdown
Member

hi there! Anything missing or can we merge this now?

@pr-Mais

pr-Mais commented Oct 27, 2021

Copy link
Copy Markdown
Member Author

Guess it should be good to go

cc @jpnurmi

@jpnurmi

jpnurmi commented Oct 27, 2021

Copy link
Copy Markdown
Member

LGTM 👍

@miquelbeltran
miquelbeltran merged commit 7e89867 into fluttercommunity:main Oct 27, 2021
@pr-Mais
pr-Mais deleted the linux-registration branch October 27, 2021 08:41
@swift-kim

Copy link
Copy Markdown

Hi. Don't you need to update the Flutter SDK constraints as well? Also when do you plan to release these changes on pub.dev?

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

Labels

battery_plus Battery Plus Plugin connectivity_plus Connectivity Plus device_info_plus Hacktoberfest Issues taking part in Hacktoberfest hacktoberfest-accepted linux network_info_plus package_info_plus stuff related to package_info_plus share_plus Feature, Enhancement, Bug Fixes for Share Plus Plugin windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants