I'm Maksym Shykov, Co-Founder of Clip Cards: a business card on an NFC card or a QR code, and an iPhone app that keeps everyone you met in one list, People, with notes, voice notes and reminders.

One rule shapes most of our engineering: People never reaches our server. It lives in SwiftData on the iPhone and syncs through the user's own iCloud. Our backend holds the cards, which are public by design, and nothing about the people you meet.

That rule is easy to state and annoying to keep. In the last two releases, 1.9.0 and 1.9.1, three features would each have been simpler with a server. Here's how we built them without one.

1. Importing LinkedIn's Connections.csv on the device

LinkedIn lets members download their own data. The connections come as Connections.csv inside an archive. 1.9.0 reads that file on the phone: People → + → Import from LinkedIn, or share the CSV to Clip Cards from Files.

Things that mattered:

  • Find columns by name, never by position. The file starts with a few Notes: lines before the header. They are skipped, and every column is looked up by its header.
  • Two shapes of the same file. LinkedIn's help page says that from 20 December 2026 the export keeps the name, the profile URL and the date connected, and drops the email, company and title. We read both shapes, and the result says when a file has no emails or companies.
  • Two date formats for Connected On (d MMM yyyy and MM/dd/yyyy), UTF-8 with or without a BOM.
  • Limits that fail as a whole. Up to 30,000 rows (LinkedIn's own connection cap) and 20 MB. Over either, nothing is imported and one line says why. A zip or another file is refused with one line too.
  • Every row is hostile input. Names go through the same rules as a typed name. A URL is kept only when it is linkedin.com/in/<handle>, normalised. An email must parse as an email.
  • Matching without guessing. A row is the same person as someone in People when the normalised LinkedIn handle or an email matches. A name alone never merges. On a match, only empty fields are filled; nothing the user typed or a card sent is overwritten, and a met person's kind and meeting date never change. Nobody is deleted because they are missing from a newer file.
  • Big files stay responsive. Rows are saved in batches of 500 off the main thread, with progress and Stop. What is saved stays saved. Undo Import takes back the people that file added, and nobody else.

Storage without a schema change. A connection is a ScanRecord, our existing People model, with kind = "linkedin-connection". kind was already free text, so there's no new attribute and no CloudKit schema change. That matters more than it looks: a CloudKit schema change has to be deployed to production before the release, and a phone on the previous version has to read whatever a new one syncs.

The share sheet. The app registers as an Alternate handler for .csv, never the default, so it doesn't take over spreadsheets. The copy iOS hands over is deleted once read, and on sign-out.

One decision we reversed within days. In 1.9.0, imported connections waited under their own LinkedIn filter until they had a note, a reminder or a voice note, to keep hundreds of untouched rows out of the main list. In practice that meant two lists. In 1.9.1 All is everyone, every row says its source, and a From menu filters by it. Spotlight and Siri still list only connections you've touched.

2. Joining duplicates, with Undo, and no new synced fields

With four sources (met in person, paper cards, Contacts, LinkedIn), the same person turns up twice. 1.9.1 suggests pairs and lets you join them. Nothing joins by itself.

When to suggest. Both of:

  • the same given and family name after folding case, accents and spaces (Tomás Freitas equals tomas freitas; a middle name may differ),
  • and one more signal: the same company (folded, ignoring Lda, SA, Inc, LLC, Ltd, GmbH), a shared email, or a shared phone (digits only, the last 9 equal, at least 7 digits).

A name alone is never enough. Two people with the same name is ordinary.

Which one is kept. Met in person beats a paper card, which beats Contacts, which beats a LinkedIn connection; within the same kind, the earlier one. Its card link and ID stay. An empty field takes the other's. Emails, phones and links: both, without repeats. Notes and voice transcripts: both, the kept one first. A reminder: the earlier one. Nothing is dropped.

Sync without new fields. The join edits the kept record and deletes the other. Both are changes iCloud already syncs. No new attribute, no CloudKit schema change, no migration, and a phone still on 1.9.0 reads the kept person as it is.

Undo, local only. Before joining, the app writes a snapshot of both people to a file in its own storage, not synced. Undo puts the kept one's fields back and restores the other with its own fields and key. It's offered for ten seconds after the join, and as Separate Again in the person's menu for 30 days; then the snapshot is deleted. On another iPhone the join simply arrives by sync, and Separate Again is offered only where the join was made.

"Not the Same Person" is remembered the same way, as a pair of keys on this iPhone. The trade-off is honest: the suggestion may show once on another device. We took that over adding a synced field for it.

3. Web page or App Clip: a choice that lives in the URL

A Clip Cards card opens on any phone. On an iPhone it can open as a web page in Safari, or as our App Clip, a small part of the app that runs without installing it. Since November the web page is the default; 1.9.1 lets the holder choose: Card link → Opens on iPhone as → Web page or App Clip.

The interesting part is that the choice can't reach into the reader's phone. iOS decides what a scanned QR or a tapped tag opens:

  • iOS shows the App Clip card for a scanned code only when the URL matches an advanced App Clip experience registered in App Store Connect. Experiences match by string prefix, the most specific wins.
  • So the choice is a second path. Cards open as a web page at /c/<slug>; cards whose holder picked App Clip carry /x/<slug>, which has its own experience. The server serves the same card page on both, with Safari's App Clip banner only on /x/, and /x is reserved from the site's routes.
  • The reader's iPhone still has the last word. With Clip Cards installed, the app opens the link. On an iOS older than the App Clip's minimum, or from a scanner app with its own browser, the web page opens. Android always gets the web page.

What follows the setting is only what the app or the server draws from then on: the QR codes the app shows (the Lock Screen card, widgets, the Watch, the wallpaper and the print sheet), newly written NFC tags, and the Apple Wallet barcode. The shared link, Copy Link and the email signature stay /c/. Tags already written keep the link they were written with; the server stores each tag's prefix, and the app says so when you change the setting. A Lock Screen card shown on its own restarts with the new QR, because a Live Activity's attributes are fixed when it starts.

All of it sits behind a server switch, and everything goes back without a build: removing the /x experience in App Store Connect sends every /x/ link, printed ones too, to the web page.

Why the web page by default? Feedback from a holder who hands out his card a lot, and what we saw at an event, was that after a scan most people expect a familiar page. That's not a study, so we made it a default that can be undone and a choice, not a removal. We'll look at what holders pick.

What these have in common

None of the three needed a new synced field, a migration, or a copy of anyone's contacts on our side. The LinkedIn rows reuse an existing model with a new kind. The join is an edit and a delete. The App Clip choice is a URL prefix plus one field on the card, which is already public.

Clip Cards 1.9.1 is on the App Store for iPhone: https://apps.apple.com/app/id6827754990?pt=128819444&ct=devto-ios191&mt=8

If you've built on-device import or dedup on top of CloudKit, I'd like to hear what you did about Undo across devices.