Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(network_info_plus): import original getgateway.* from libnatpmp #1592

Merged
merged 6 commits into from
Mar 6, 2023

Conversation

jpnurmi
Copy link
Member

@jpnurmi jpnurmi commented Mar 4, 2023

Description

  • Remove getgateway.* copied from SO
  • Add original, properly attributed getgateway.* from libnatpmp
  • Add libnatpmp to network_info_plus/LICENSE
  • Adapt FLTNetworkInfoPlusPlugin.m & restore "en0" check

Disclaimer: I'm no iOS developer but I've tested this in a simulator:

Related Issues

Fixes: #1058

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I titled the PR using Conventional Commits.
  • I did not modify the CHANGELOG.md nor the pubspec.yaml files.
  • All existing and new tests are passing.
  • The analyzer (flutter analyze) does not report any problems on my PR.

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 that with a ! in the title as explained in Conventional Commits).
  • No, this is not a breaking change.

@jpnurmi
Copy link
Member Author

jpnurmi commented Mar 4, 2023

Screenshot 2023-03-04 at 11 13 29

Copy link
Member

@nohli nohli left a comment

Choose a reason for hiding this comment

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

Great!

@vbuberen
Copy link
Collaborator

vbuberen commented Mar 4, 2023

Thank you very much for resolving this problem

@jpnurmi jpnurmi requested a review from mhadaily March 4, 2023 10:44
@mhadaily
Copy link
Member

mhadaily commented Mar 4, 2023

Awesome JP

@vbuberen
Copy link
Collaborator

vbuberen commented Mar 6, 2023

Don't see any obstacles for merging it, so let's do it.

@vbuberen vbuberen merged commit 4658dd0 into fluttercommunity:main Mar 6, 2023
@jpnurmi jpnurmi deleted the getgateway branch March 6, 2023 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Use of CC-BY-SA 3.0 licensed code (CLA violation)
4 participants