Skip to content

Create security-scoped bookmarks for Phone and Messages - #268

Merged
mattt merged 1 commit into
mainfrom
mattt/fix-bookmark-security-scope
Oct 12, 2026
Merged

mattt merged 1 commit into
mainfrom
mattt/fix-bookmark-security-scope

Conversation

@mattt

@mattt mattt commented Oct 12, 2026

Copy link
Copy Markdown
Owner

This PR adds .withSecurityScope to the options that Phone and Messages use to create their folder bookmarks. They passed .securityScopeAllowOnlyReadAccess alone, which Apple documents as meaningful only together with .withSecurityScope. Without it, the stored bookmark isn't security-scoped, so it may not restore access to the folder after a relaunch.

Thanks to @bradhallett for catching this in #253 🙏

Co-authored-by: Brad Hallett <53977268+bradhallett@users.noreply.github.com>
@mattt
mattt merged commit 174ff67 into main Oct 12, 2026
1 check passed
@mattt
mattt deleted the mattt/fix-bookmark-security-scope branch October 12, 2026 13:05
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