Skip to content

fix: don't create http client if signed out #166

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

Merged
merged 1 commit into from
May 27, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented May 27, 2025

If the session item in the keychain is missing but hasSession is true, the app will force unwrap the session token optional and crash on launch. Encountered this today.

EDIT:
Discovered why the keychain item was getting deleted - macOS appears to delete it if the Info.plist of the bundle is modified, presumably as some security measure? Couldn't find anything online about it but it seems intentional.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ethanndickson ethanndickson marked this pull request as ready for review May 27, 2025 03:10
Copy link
Member Author

ethanndickson commented May 27, 2025

Merge activity

  • May 27, 3:29 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • May 27, 3:29 AM UTC: @ethanndickson merged this pull request with Graphite.

@ethanndickson ethanndickson merged commit b2da490 into main May 27, 2025
4 checks passed
@ethanndickson ethanndickson deleted the ethan/fix-session-token-panic branch May 27, 2025 03:29
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.

2 participants