Blog: WiFi, Bonjour, USB, and network-type listeners#5076
Closed
shai-almog wants to merge 1 commit into
Closed
Conversation
Covers the new com.codename1.io.{wifi,bonjour,usb} packages and
NetworkManager.addNetworkTypeListener from PR #5021. Highlights the
per-platform implementations, the build-tool auto-injection of
Android permissions and iOS entitlements, the three new compile-time
defines that keep unused entitlements out of Apple's API-usage scan,
and the simulator behaviour for each surface.
Paired with the May 29 weekly release post and the on-device
debugging follow-up.
3 tasks
Collaborator
Author
|
Superseded — consolidating the follow-up posts so this release week ships fewer, broader posts. New merged versions in the follow-up PRs to this one. |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
com.codename1.io.wifi,com.codename1.io.bonjour,com.codename1.io.usb, and the newNetworkManager.addNetworkTypeListener/NETWORK_TYPE_*constants.WifiManager/WifiNetworkSpecifier/NsdManager, iOSCNCopyCurrentNetworkInfo/NEHotspotConfigurationManager/NSNetServiceBrowser, JavaSE best-effort fallbacks), and the auto-injection of Android permissions and iOS entitlements based on classpath scanning.CN1_INCLUDE_WIFI_INFO,CN1_INCLUDE_HOTSPOT,CN1_INCLUDE_BONJOUR) that keep unused entitlements out of Apple's API-usage scan.File
docs/website/content/blog/wifi-bonjour-usb-network-type.md— single new file.Sequencing
Branches off
master; intended to publish after the on-device debugging post (#5075) and before the OIDC/passkey post. Front matter date is2026-05-31.Test plan
docs/websitesucceeds./static/blog/wifi-bonjour-usb-network-type.jpg.