Skip to content

Conversation

@jhaaaa
Copy link
Collaborator

@jhaaaa jhaaaa commented Sep 26, 2025

Add iOS backup exclusion guidance to the Create a Client docs to avoid database encryption key loss during device transfer in create-a-client.mdx

Add a section on excluding the database directory from iOS backups/device transfers and include a Swift example using URLResourceValues.isExcludedFromBackupKey, with a link to Apple docs, in create-a-client.mdx.

📍Where to Start

Start with the new iOS backup exclusion section in create-a-client.mdx.


Macroscope summarized 02f8459.

@vercel
Copy link

vercel bot commented Sep 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs-xmtp-org Ready Ready Preview Comment Nov 6, 2025 6:24pm

@jhaaaa jhaaaa changed the title Avoiding DB key loss during iOS device transfer Avoid DB key loss during iOS device transfer Sep 26, 2025
@jhaaaa jhaaaa requested a review from Copilot September 26, 2025 23:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds documentation guidance for iOS developers to prevent database encryption key loss during device transfers. The changes help developers understand a common issue where iOS device transfers can move database files without their encryption keys, leading to decryption errors.

  • Adds a new documentation section explaining the iOS device transfer issue
  • Provides a Swift code example for excluding database directories from backups
  • Includes a reference link to Apple's official documentation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@jhaaaa jhaaaa requested a review from neekolas September 26, 2025 23:55
jhaaaa and others added 2 commits November 6, 2025 10:22
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jhaaaa jhaaaa merged commit 9bde7bb into main Nov 6, 2025
4 checks passed
@jhaaaa jhaaaa deleted the db-key-loss-ios branch November 6, 2025 18:29
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.

3 participants