Repository navigation
Fix Wi-Fi password commands failing with "Could not get connected network info - #344
Merged
Merged
Conversation
The CLLocationManager was a local that got deallocated right after requesting authorization, which dismisses the prompt, and the SSID was read immediately without waiting for the user's answer. Keep a single manager alive, ask for access when undetermined, and show specific errors for denied access, Wi-Fi off, and no network. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GhMBdqdm6aKrKNwWyhJjJH
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GhMBdqdm6aKrKNwWyhJjJH
Owner
|
thx for the fix. I unfortunately I'm not on my main computer for the next weeks, so I cannot do a release, but will do one once I'm back home |
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.
Problem
"Copy Wi-Fi Password to Clipboard" and "Reveal Wi-Fi Password" fail with:
On recent macOS, CWInterface.ssid returns nil unless the app has location authorization. In getWifiPassword:
Fix
Testing
Not built or run yet; needs a check in Xcode on macOS.