Mobile App: Directory permission prompt re-triggers on app switch (Android)
Bug Report
Product: Claude mobile app (Android)
Device: OnePlus 7T
Submitted by: User via Claude Code CLI (filing on their behalf from mobile remote session)
Description
When using the Claude mobile app connected to a remote Claude Code session:
- App shows directory/file permission prompts (normal behavior)
- User uses Android app switcher (double-tap recent apps / swipe gesture) to briefly switch away
- User switches back to the Claude app
- The app re-displays a directory permissions prompt — as if the permission state was lost when the app went to background
The re-prompted permissions are for directories, not necessarily the same ones that were last shown. It appears the app loses track of which permissions were already granted when it gets backgrounded and resumed.
Expected Behavior
Permission grants should persist through app background/resume cycles within the same session. Switching apps and coming back should not re-trigger permission prompts.
Likely Cause
The app may not be persisting permission grant state to durable storage — possibly holding it only in memory that gets cleared when Android backgrounds the process. Or the WebSocket/session reconnection on resume is re-requesting permissions.
Steps to Reproduce
- Open Claude mobile app on Android (OnePlus 7T)
- Connect to a remote Claude Code session that requires directory permissions
- Grant the permissions when prompted
- Use Android app switcher to switch to another app
- Switch back to Claude app
- Observe: directory permission prompt appears again
Related
- Possibly related to #24381 (Permission preferences not persisting)
- Same session as #28776 (text clipping bug on same device)
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗