Skip to content

Add Apple permission probing during setup#62

Merged
priyanshujain merged 7 commits intomasterfrom
feat-apple-permission-probe
Mar 11, 2026
Merged

Add Apple permission probing during setup#62
priyanshujain merged 7 commits intomasterfrom
feat-apple-permission-probe

Conversation

@priyanshujain
Copy link
Copy Markdown
Collaborator

Summary

  • Add lightweight CheckPermission() and CheckAppleContactsPermission() probe functions that trigger macOS TCC permission dialogs with a minimal osascript call (not a full sync)
  • Show the user a message before the permission dialog appears, and handle denial gracefully with clear instructions
  • Add Apple Contacts as a new source option in the obk setup wizard
  • Add integration tests for both permission probes

Test plan

  • go build ./... passes
  • go test ./source/applenotes/... ./source/contacts/... passes
  • On macOS, run go test -tags "darwin,integration" ./source/applenotes/... ./source/contacts/... to verify probes
  • Manual test: run obk setup, select Apple Notes and Apple Contacts, verify permission dialogs appear with context messages

@priyanshujain priyanshujain merged commit 16a4fa9 into master Mar 11, 2026
10 checks passed
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