Summary
Open one of your own visit photos in the Album and tap the share button. Share photo shows the photo in the one Scout frame: "I earned this." in a script hand, the place's patch large and tilted beside its name, the day and the place, the Scout wordmark, and the outline of the boundary you crossed to earn the patch, in that place's interest colour. Pick Story (9:16) or Post (4:5), then Save it to Photos or Share it. Both are made on the phone and upload nothing.
Share a link · 7 days uploads that one photo for a week and gives you a link,
scout-patches.com/m/<code>, that anyone can open in a browser. After 7 days the link and the
photo delete themselves.
It is free for every account. There is always a frame: no "No frame" choice, and one frame only (Alan, 2026-12-04).
Status
- Built 2026-12-04, not yet in a released app. No feature flag. It is JavaScript only: the
card's script font (Yellowtail,
@expo-google-fonts/yellowtail) is loaded at runtime and adds no native code; the native fingerprint with it equalled the 1.1.124 release's on both platforms (measured 2026-12-04, before visit videos added a native package todevelop). So this feature alone does not need a store build, butdevelopnow does: it ships in the next store build, or by OTA only from the 1.1.124 release commit plus this change. - Backend first.
shared_memories.kindis a hand-applied column (backend/prisma/migrations/20261204120000_shared_memories_kind/migration.sql). Apply it and deploy the backend before any app build that sendskind: 'photo'; an older backend would make a memory link out of the request. - A photo link opens in the app only where a memory link does (see On This Day's doc: the
/m/*app-link claims).
User-facing surfaces
- The share button in the lightbox (
lightbox-share-photo,mobile/src/components/lightbox/LightboxChrome.tsx:231): a glass share-out button, on your own visit photos only (an item with apostDraft: My Visit and the Album's place pages). Never on a post's photo, on official imagery, or on a video. It opens/photo-share?patchId=<id>&assetId=<camera-roll asset>. - Share photo (
mobile/app/photo-share.tsx, screenmobile/src/components/photo-share/PhotoShareScreen.tsx; afullScreenModal, because the lightbox that opens it is one,mobile/app/_layout.tsx:571): the glass close button top left, the title, the framed photo, Story 9:16 · Post 4:5, the row Share a link · 7 days ("Anyone with the link can see this photo for a week"), and a footer with Save and Share.- Save asks for add-only access to Photos, saves the picture and shows "Saved to Photos". Refused: "Allow Scout to add to Photos in Settings to save this." Failed: "Couldn't save the picture. Try again."
- Share hands the picture (a JPEG, 1080×1920 or 1080×1350) to the share sheet.
- A photo that is no longer in the Album or on the phone, or a place the app doesn't have: "This photo isn't on this phone anymore", with nothing to share.
- The card (
mobile/src/components/photo-share/EarnedPostcard.tsx, decided by the pureearnedCardModel,mobile/src/domain/photoShare.ts): the photo full bleed; "I earned this" with its full stop in the interest colour; the patch at a tilt; the place name; "Jun 13, 2024 · Hot Springs, South Dakota"; the wordmark; "The line I crossed" with the boundary's width ("1,510 feet across", "133 miles across") and its outline.- The date is the day the photo was taken; a photo with no date uses the day you unlocked
the patch; with neither, the card prints the place alone (
cardDay). - The colour is the place's interest (History, Paranormal, …); a place filed in no interest wears brass.
- No boundary (a patch with no polygon, or the outline didn't load): the card prints
scout-patches.comthere instead. - Post is the Story card with its sizes at 0.84 (
POST_SCALE).
- The date is the day the photo was taken; a photo with no date uses the day you unlocked
the patch; with neither, the card prints the place alone (
- The link sheet (
PhotoLinkSheet.tsx): "Share a link", then exactly what it uploads, before the tap ("Uploads this photo, shrunk and without its location, and the framed picture for the link's preview, for 7 days. Anyone with the link can see them; then they delete themselves.",LINK_FINE_PRINT), a small picture of the link's preview, and Create link. Signed out, it asks for an account first. Then: "Your link is ready", the link, "Live until Fri, Dec 11, then it deletes itself", Copy and Share (the share line is "I earned this: <place>, on Scout:"). - The web page
scout-patches.com/m/<code>(backend/views/memory/page.hbs, the photo branch): the photo, the Scout wordmark, the patch beside the place name, "Jun 13, 2024 · Hot Springs, South Dakota" (the card's order), "Shared from Scout, the app that turns the places you go into patches. This link lasts 7 days.", Get Scout, free (/get?src=photo) and "Already have it? Open in Scout". The link preview (og:image) is the framed card. After 7 days: "This photo has expired" (HTTP 410). Still uploading, or never finished: "This photo isn't here" (404).noindex. - A photo link opened in Scout (
mobile/app/m/[code].tsx): goes to that place's patch page. Expired: "This photo has expired".
How it works
- The screen reads the photo from the Album's own records (
visitPhotos), the patch from the synced catalog, the unlock day from your collected patches, the interest from the catalog taxonomy (patchInterest) and the boundary from the patch's geofence (GET /api/location/geofence/:patchId, cached). Nothing is fetched for the photo itself. The screen shows its skeleton only while a boundary fetch is in flight, so the picture made is always the card on screen. A fetch that failed, or one that cannot start because the phone is offline and the boundary was never cached, counts as answered: the card comes at once and prints the site. The wait is for the first answer only: if the phone reconnects while the card is up, the card stays and takes its line in place. - The card is drawn at export size (1080 wide) and scaled down for the preview. Save, Share and Create link mount a second, full-size copy off screen and capture it once its images have drawn and the headline has been fitted to its width.
- Create link (
usePhotoShareLink,mobile/src/hooks/usePhotoShareLink.ts:27):POST /api/shared-memorieswith{ kind: 'photo', patchId, day }; the photo is shrunk to 1080 px and re-encoded (which drops its location metadata) and uploaded to the one presigned slot; the Story-size card is uploaded as the link's preview; then commit. If the photo can't be read, nothing is committed and the link never goes live. - The server (
backend/src/shared-memories/shared-memories.service.ts:150,photoRow) writes a one-photo row:over"I earned this", the day formatted by the server, one slot. Commit refuses a photo link without exactly its one photo. From there it is a shared memory: private S3, copies underlive/, the daily sweep at 7 days, removal with the account (on-this-day).
Data model
- On the phone: none new.
shared_memories.kind:'memory'(default; an On This Day link) or'photo'. A photo row hasphoto_slots = 1,places = photos = days = 1,and_more = 0, anddate_rangeholding the one day ("Jun 13, 2024") or empty.
API surface
POST /api/shared-memorieswithkind: 'photo',patchId,day(YYYY-MM-DDor null): signed in; the per-account burst throttle (20/h); no daily cap.kind: 'memory', or none, is a memory link; anything else is a 400.POST /api/shared-memories/:code/commit: for a photo link,uploadedmust be[0].GET /api/shared-memories/:code: the view now carrieskind,patchIdandwhere("City, State"); a link that is expired or still uploading answers{ state, code, kind }.GET /m/:codeand/m/:code/card.jpg: as for a memory link.
Key files
mobile/src/domain/photoShare.ts— the card model: the day, the line, the colour.mobile/src/components/photo-share/—EarnedPostcard.tsx,PhotoShareScreen.tsx(view model and layout),PhotoLinkSheet.tsx.mobile/src/hooks/usePhotoShareLink.ts,mobile/src/hooks/useShareMemoryLink.ts(uploadAndCommit, shared with memory links).mobile/app/photo-share.tsx,mobile/app/m/[code].tsx.backend/src/shared-memories/— service, controller, rules;backend/views/memory/page.hbs.
Configuration and flags
- None. Free for every account, with no paid gate and no feature flag.
- Analytics: share surface
photo_share; contentimage(Share) andphoto_link(the link's Copy and Share). See analytics-events.
Edge cases and known limits
- A photo restored from Scout's cloud copy (not in this phone's camera roll) can be framed, saved and shared, but cannot make a link: Create link says "This photo isn't on this phone anymore."
- The boundary's width is its east-to-west extent, so a long north-south place reads narrower than its length.
- A long place name shrinks to fit (to 70% of its size) and wraps to at most 4 lines.
- A link that failed part-way leaves an unfinished row; it is never visible and the sweep removes it.
- The link's preview picture is always the Story card, whichever shape is selected.
What this feature does NOT do
- It does NOT share a photo without the frame. There is no "No frame" option and no second frame.
- It does NOT share videos. The button never shows on one.
- It does NOT share other people's photos, post photos or official imagery: only your own visit photos.
- It does NOT put a "you were here" dot on the card, and never prints where the photo was taken. The outline is the patch's boundary, not your position.
- Save and Share do NOT upload anything. Only Create link uploads, and only that one photo (shrunk, re-encoded) and the framed card.
- A link is NOT private or password-protected. Anyone with it can see the photo for 7 days.
- A link CANNOT be stopped early from the app, extended, or listed afterwards. Deleting the account removes it at once.
- It does NOT count against the 10 memory links a day, and has no daily cap of its own.
- It is NOT part of a paid tier and has nothing to do with ads.
- It is NOT in a released app yet.
Tests that cover it
mobile/src/domain/__tests__/photoShare.test.ts— the day rules, the date format, the boundary's width and label, the colour, and the model with and without a boundary.mobile/screen-tests/components/earned-postcard.test.tsx— the card in both shapes, the fitted headline, the no-line and no-art cards, readiness.mobile/screen-tests/photo-share.test.tsx— the screen: the card from a seeded photo, the interest colour and brass, the date fallbacks, the boundary wait (loading, failed, offline, reconnecting), Story and Post, Save (granted, refused, failed), Share, the link sheet (fine print before the tap, the round trip, Copy and Share, signed out, the photo gone, a failed upload and the retry, closing), the missing states, and close.mobile/hook-tests/usePhotoShareLink.test.tsx— the link: what is sent, the one upload plus the card, commit, and every failure.mobile/screen-tests/lightbox.test.tsx— the share button on your own photo, and not elsewhere.mobile/screen-tests/m-code.test.tsx— a photo link opened in the app: live, expired, pending.backend/src/shared-memories/shared-memories.db.spec.ts,shared-memories.controller.spec.ts,shared-memory.rules.spec.ts,backend/api-tests/shared-memories.api.spec.ts— photo rows, no cap, the commit rule, the view, and the rendered page live, expired and not there.e2e-rn-web/specs/flows/album/photo-share.spec.ts— on the web build: the lightbox button, the card, Story and Post, a reload, the link sheet's words and its failure state, the missing state; and a link made through the API: not there, then live with its photo, the page, and the app opening the place. Not reachable on web: taking the picture of the card (a browser cannot capture a view, so Create link there ends at "Couldn't make the picture. Try again."), the camera roll, Save to Photos and the OS share sheet.
Open questions
- Should a photo restored from the cloud copy be able to make a link (upload from the cloud copy instead of the camera roll)?
- When
/m/*is claimed for the app, should a photo link show the photo in the app before the place?