Skip to content

Conversation

jpnurmi
Copy link
Member

@jpnurmi jpnurmi commented Dec 11, 2020

Tested:

  • Android
  • iOS
  • Linux
  • macOS
  • Web
  • Windows

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!

Like with share_plus, all the packages needs to be released again with versions and changelogs updated.

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

Moves the real implementation of battery_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 battery_plus (and thus battery_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 battery_plus_linux.
@jpnurmi jpnurmi merged commit cf77598 into fluttercommunity:main Dec 12, 2020
@jpnurmi jpnurmi deleted the fix/battery_plus branch December 12, 2020 18:59
@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