Skip to content

fix(mobile): open the shell offline when a cold start can't reach put.io - #419

Merged
altaywtf merged 3 commits into
mainfrom
fix/offline-cold-start
Oct 27, 2026
Merged

altaywtf merged 3 commits into
mainfrom
fix/offline-cold-start

Conversation

@altaywtf

@altaywtf altaywtf commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Change

A cold start with no network opens the shell offline on the last confirmed account, then confirms the session when the network returns.

Before After
Before: Couldn’t check your session After: Files offline with the download
  • A session put.io rejects still signs out, at launch or on reconnect.
  • No confirmed account yet: the session check screen stays, now retrying on reconnect.

Closes #417

Validation

  • ./gradlew verify and the debug assembles
  • Emulator in airplane mode: offline Files and play, then online untouched

Unverified: a rejection at launch, live.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T10:09:00.604761Z 8cf5131 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 94206e7. Configure here.

Comment thread mobile/src/main/kotlin/io/putdotio/android/auth/SessionRevalidation.kt Outdated
@altaywtf
altaywtf merged commit c9d6487 into main Oct 27, 2026
5 checks passed
@altaywtf
altaywtf deleted the fix/offline-cold-start branch October 27, 2026 10:15
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.

Offline cold start blocks downloads at the session check

1 participant