Skip to content

[PB-6083] bugfix/Hanle limited gallery access#481

Open
CandelR wants to merge 2 commits into
feature/PB-6474-fixes-and-improvementsfrom
feature/PB-6083-limited-access-handling
Open

[PB-6083] bugfix/Hanle limited gallery access#481
CandelR wants to merge 2 commits into
feature/PB-6474-fixes-and-improvementsfrom
feature/PB-6083-limited-access-handling

Conversation

@CandelR

@CandelR CandelR commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Fix iOS/Android limited Photos access flow:

  • Permission request no longer hangs indefinitely on iOS,
  • Skip redundant permission re-request when access is already active
  • Add LimitedAccessBanner for limited access state
  • Start upload after select new photos
  • Refresh timeline after select new photos

Summary

  • photoPermissionService.ts: requestPermission now polls with setTimeout to handle iOS hanging the promise when the user picks "Limited Photos"
  • enableBackupThunk: skips requestPermission if permission is already active
  • LimitedAccessBanner.tsx: new component shown when enabled && permissionStatus === 'limited'
  • useSelectMorePhotos.ts: new hook for "Select more photos"

@CandelR CandelR self-assigned this Jun 5, 2026
@CandelR CandelR added bug Something isn't working enhancement New feature or request labels Jun 5, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jun 5, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
7.9% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants