Repository navigation
feat!: drop the network action, use reconnect - #8
Merged
Merged
Conversation
BREAKING CHANGE: LinkAction.network (iOS, Android), LinkAction.NETWORK (Android) and action: 'network' (React Native) are gone. Open reconnect instead; it also changes a charger's network.
tygoegmond
pushed a commit
that referenced
this pull request
Oct 8, 2026
🤖 I have created a release *beep* *boop* --- ## [0.5.0](0.4.0...0.5.0) (2026-10-08) ### ⚠ BREAKING CHANGES * drop the network action, use reconnect ([#8](#8)) ### Features * drop the network action, use reconnect ([#8](#8)) ([7571bc1](7571bc1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Why
The Link action
networkis folded intoreconnect: a reconnect gets a charger already on Plugchoice reaching Plugchoice again, including changing its network (Wi-Fi and the like), so hosts openreconnectfrom a "Network settings" button too. The SDK is still in beta, sonetworkis removed outright with no deprecation shim. This is a breaking change during the beta and pairs with volttime/core#1210, which drops thenetwork_setupcapability.What
LinkAction.network(chargerId:); doc comments point toreconnect.LinkAction.network(chargerId)andLinkAction.NETWORK; KDoc updated.'network'from theactionunion and docs/error message.network..custom(...)/ any action string still passes through unchanged.reconnect. Unrelated uses of "network" (error codenetwork, local network, Wi-Fi) are untouched.Tests
pnpm typecheck,pnpm test(62 passed)../gradlew :plugchoice:testDebugUnitTest :plugchoice:lintDebug :example:assembleDebugpassed (205 tests, 0 failures).xcodebuild -scheme PlugchoiceSDK teston an iPhone simulator (195 tests, 0 failures); Example app builds.