Skip to content

iOS: sync with Dropbox, signed in to in the browser sheet - #376

Merged
tiendc merged 1 commit into
mainfrom
ios/dropbox
Dec 5, 2026
Merged

tiendc merged 1 commit into
mainfrom
ios/dropbox

Conversation

@tiendc

@tiendc tiendc commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

Dropbox already syncs on the desktop (#372) and Android (#373). This PR adds the iPhone and iPad. The Rust side was already in place (DropboxSignIn, dropbox_account_before, revoking on Stop syncing), so this is the iOS UI only.

Settings › Sync › Dropbox (ios/Shellwing/SyncView.swift)

  • Where it appears: Dropbox is in the place menu, after OneDrive, with Sign in with Dropbox and the same explanation as the desktop and Android.
  • Sign-in: it opens in the browser sheet (SwiftUI's webAuthenticationSession) and comes back to com.hivepaas.shellwing://auth, as OneDrive does. Dropbox asks the person to allow the app at every sign-in.
  • Another account: signing in to a different Dropbox account than this vault used before is asked about first, as for Google and Microsoft.
  • Start over: joining a vault there offers Start over here. Dropbox's Apps › shellwing folder is the app's own, so the app deletes what is there, as for OneDrive, Google Drive, iCloud and a server.
  • Stop syncing revokes the token, through the mobile crate as on Android.

Docs: docs/design/sync.md now says Dropbox is built on the desktop, iOS and Android.

Checks

  • The iOS Simulator build passes.
  • i18n.py check passes: 2023/2023, with no new strings, since the Android and desktop wording is reused.
  • Not tried yet: a sign-in against the real Dropbox on iOS, which needs a person's account.

🤖 Generated with Claude Code

Dropbox was on the desktop and Android; the iPhone and iPad have it now.
Settings > Sync > Dropbox signs in through SwiftUI's
webAuthenticationSession, coming back to com.hivepaas.shellwing://auth as
OneDrive's does, with the mobile crate's DropboxSignIn (#373). Another
account than this vault's of before is asked about first. Joining a vault
there offers Start over here: Dropbox's app folder is the app's own.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@tiendc
tiendc merged commit 13c3c74 into main Dec 5, 2026
5 checks passed
@tiendc
tiendc deleted the ios/dropbox branch December 5, 2026 08:20
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.

1 participant