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): Improve Wi-Fi IP address retrieval on iOS to avoid null #3408

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

vbuberen
Copy link
Collaborator

Description

Based on information provided in #1652 (comment) changed the iOS implementation to retrieve IP address to get values even when device uses not en0 interface for Wi-Fi.

Additionally did minor improvements with log entry when interfaces info retrieval fails and changed the comparison to simplify it a bit.

Related Issues

Fixes #1652

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.

@vbuberen vbuberen merged commit 7c8894b into main Dec 20, 2024
19 of 20 checks passed
@vbuberen vbuberen deleted the fix/network_info_plus_ios_info branch December 20, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Question]: Problem with NetworkInfo().getWifiIP(); return null on iPhone 14 Pro and iOS 16.3.1
2 participants