Skip to content

Conversation

jpnurmi
Copy link
Member

@jpnurmi jpnurmi commented Dec 12, 2020

Same as

Moves the real implementation of connectivity_plus_linux behind a conditional export, instead of exporting a stub on platforms that don't support dart:ffi. This avoids build breakage in web projects that have transitive dependencies on connectivity_plus (and thus connectivity_plus_linux due to manual endorsement).

This will no longer be necessary once flutter/flutter#52267 is fixed since only Linux builds will ever need to have a code-level dependency on connectivity_plus_linux.

…ty#65)

Same as
- package_info_plus_windows:
  fluttercommunity@cf13721
- path_provider_windows:
  flutter/plugins@2595703
- ...

Moves the real implementation of connectivity_plus_linux behind a conditional
export, instead exporting a stub on platforms that don't support dart:ffi.
This avoids build breakage in web projects that have transitive dependencies
on connectivity_plus (and thus connectivity_plus_linux due to manual endorsement).

This will no longer be necessary once flutter/flutter#52267
is fixed, since only Linux builds will ever need to have code-level dependency
on connectivity_plus_linux.
Copy link
Member

@miquelbeltran miquelbeltran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Is it necessary to release a new version for connectivity_plus and connectivity_plus_linux?

@jpnurmi
Copy link
Member Author

jpnurmi commented Dec 12, 2020

Thank you! Is it necessary to release a new version for connectivity_plus and connectivity_plus_linux?

I think both. connectivity_plus_linux is going to be released for the first time.

@jpnurmi jpnurmi merged commit 6cbf04f into fluttercommunity:main Dec 12, 2020
@jpnurmi jpnurmi deleted the fix/connectivity_plus branch December 12, 2020 17:29
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants