Please move or protect the “Logout” button to prevent accidental logouts (iOS / iPad)
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Feature request
Is your feature request related to a problem? Please describe.
Yes. The "Logout" button in the Nextcloud iOS/iPad app is positioned too prominently and can be tapped accidentally.
On iPads in particular, it’s very easy to log out unintentionally while navigating the account settings.
When this happens, the app immediately deletes all local data and stored login tokens — forcing the user to reconfigure the account from scratch.
This is frustrating and can lead to data loss for users who only wanted to switch screens or check settings.
Describe the solution you'd like
Please make it harder to log out accidentally. For example:
- Add a confirmation dialog before logout
(“Are you sure you want to log out? This will remove your account and all offline data.”) - Move the logout button deeper into the settings hierarchy
(e.g. Account → Advanced → Logout) - Optionally require biometric confirmation (Face ID / Touch ID) before logout when App Lock is enabled.
Describe alternatives you've considered
- Relying on iOS Face ID / App Lock to secure the app, but that does not prevent accidental logouts.
- Training users to avoid the button — but this is unreliable and not user-friendly.
Additional context
This issue is mostly visible on iPad and iPhone, where the Logout button is large and exposed in the account overview.
A small UX change would prevent many unintended logouts and improve user experience significantly.
Environment:
- App: Nextcloud iOS 5.x (current stable)
- Device: iPad Pro M4
- OS: iPadOS 18
- Server: Nextcloud 28 (self-hosted)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating the iPhone/iPad account overview and its Logout action, then review the existing logout and App Lock flows; done should be a clearly chosen, tested safeguard that prevents accidental logout without blocking intentional logout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100