Skip to content

Add invite and promo landing pages - #27

Draft
JonnyLuca wants to merge 1 commit into
RealUnitCH:developfrom
JonnyLuca:01a03535-referral-promo
Draft

Add invite and promo landing pages#27
JonnyLuca wants to merge 1 commit into
RealUnitCH:developfrom
JonnyLuca:01a03535-referral-promo

Conversation

@JonnyLuca

@JonnyLuca JonnyLuca commented Aug 24, 2026

Copy link
Copy Markdown

Summary

Invite and promo landing pages on realunit.app (Offerte Entwurf 3, point 3).

  • /invite/{code} personal greeting from public lookup; /promo/{code} campaign text
  • Public lookup GET /v1/realunit/referral/code/:code (CORS on realunit.app)
  • Universal Links / App Links: AASA + Digital Asset Links as HTTP 200 on apex and www (no 301 on .well-known/)
  • Extra AASA alias /apple-app-site-association as HTTP 200 (www included)
  • GitHub release APK SHA-256 7F:8B:14:54:E2:91:E9:DB:56:21:69:0A:64:23:7C:34:80:78:C6:5B:B4:86:31:CA:02:9D:14:20:E6:3C:7B:40 (O=DFX AG, CN=Konstantin Ullrich)
  • Store badges, copy code/link, iOS re-tap hint, Android Play Install Referrer (attached during lookup)
  • NestJS unmounted Cannot GET is unavailable, not invalid

Visual

Matrix in tests/pages.mjs: invite ok/invalid/unavailable (desktop, tablet, phone), promo ok (desktop, tablet, iOS, Android).

Test plan

  • npm test (112 passed)
  • check-site (www AASA/assetlinks must be 200, never 301)
  • Visual baselines for the matrix
  • Human: merge this PR so production realunit.app AASA, assetlinks and /invite/* stop 404ing
  • Human: mount live lookup on api.dfx.swiss
  • Human: Play App Signing fingerprint if it differs from the GitHub APK

Related: RealUnitCH/intern#3 (do not auto-close; live lookup and this merge are still required).

@JonnyLuca

Copy link
Copy Markdown
Author

Fixes RealUnitCH/intern#3

Store badges and Play Store install referrer added on /invite and /promo.

@JonnyLuca
JonnyLuca marked this pull request as ready for review August 27, 2026 20:21
@JonnyLuca
JonnyLuca marked this pull request as draft August 27, 2026 20:36
Offerte Entwurf 3: realunit.app/invite and /promo look up the live
referral contract, open Universal Links / App Links, pass the Play
Install Referrer, and serve AASA plus assetlinks as HTTP 200 on apex
and www. NestJS Cannot GET is unavailable, not an expired code.
@JonnyLuca
JonnyLuca force-pushed the 01a03535-referral-promo branch from d60ddc2 to 2b40eda Compare August 27, 2026 23:46
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