Appearance
Deep links
Every notification and every share opens the exact screen it is about. A like on your comment opens that comment, a receipt opens that receipt, a live reminder opens that stream, a playlist request opens the request. Nothing drops people on the home screen and leaves them to search.
Work in progress
The link structure (the list of screens and their paths) will be documented in a later pass. Build against the concepts below and resolve links through the API rather than parsing them yourself.
One base for everything
All links live on one host:
text
https://spread.plemuz.com/<screen path>The same URL works everywhere:
- App installed: iOS Universal Links and Android App Links open the app directly on the screen. The host serves
/.well-known/apple-app-site-associationand/.well-known/assetlinks.jsonfor this. - App not installed: the link falls through to the same place on the web app at
https://plemuz.com, with a prompt to get the app. - Inside the app: a custom-scheme form (
plemuz://<screen path>) exists for in-app navigation and older clients. Prefer thehttpsform when sharing.
Where links appear
| Source | Field |
|---|---|
| Notifications (in-app, push, email) | deepLink on the notification and in the push payload |
| Error and refusal next steps | actions[].deepLink, such as top up, subscribe, verify identity. See Errors |
| Shares | Share links returned by the share endpoints, tracked for counts. See Social |
| Growth | Referral and affiliate links and QR codes. See Referrals |
| Invites | Chat invite links, call links, studio and seat invitations, gifts |
Resolving a link
Don't parse link paths in the client. Ask the API which screen a link means:
bash
curl "https://api.plemuz.com/v1/links/resolve?url=https%3A%2F%2Fspread.plemuz.com%2F…"json
{
"data": {
"screen": "receipt",
"params": { "id": "0192…" },
"url": "https://spread.plemuz.com/…",
"appUrl": "plemuz://…"
}
}An unknown link is 404 NOT_FOUND: open the home screen. Resolution is public and cacheable, so it works before sign-in. If the screen needs a signed-in person, sign in first, then continue to it.
Guidelines for clients
- Handle a link on cold start and while running.
- Keep the target through sign-in, onboarding or an app update, then open it.
- If the item no longer exists or isn't visible to this person, show a clear empty state on that screen rather than an error page.
- Push payloads never carry message content; the link plus a fetch is how the screen gets its data.