Skip to content

Add the App Store link to the friend invite message - #204

Merged
code418 merged 1 commit into
masterfrom
claude/amazing-noether-ovnl7y
Oct 5, 2026
Merged

code418 merged 1 commit into
masterfrom
claude/amazing-noether-ovnl7y

Conversation

@code418

@code418 code418 commented Oct 5, 2026

Copy link
Copy Markdown
Owner

What

The "Invite friends to play" share message only linked to Google Play. It now includes both store links, labelled, because the sender can't know what phone the recipient has:

Add me as a friend with my UID: abc123

iPhone: https://apps.apple.com/app/id6819213888
Android: https://play.google.com/store/apps/details?id=com.code418.postbox_game

The sender's own store comes first (from defaultTargetPlatform), since friends tend to use the same platform. buildInviteMessage takes an optional platform so tests can choose the order.

Note

The App Store link resolves only once the app is publicly released. While it's TestFlight-only, apps.apple.com/app/id6819213888 shows "not available".

Testing

  • flutter analyze: no issues.
  • flutter test: 709 passing. Two new tests check that the App Store link is always present and that the sender's store is listed first.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DHTD3vveFPNVDz9uxWiyD9


Generated by Claude Code

Invites now carry both store links, labelled "iPhone:" and "Android:",
since the recipient's phone is unknown. The sender's own store is listed
first, as friends tend to share a platform.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DHTD3vveFPNVDz9uxWiyD9
@code418
code418 merged commit 3a8a356 into master Oct 5, 2026
3 checks passed
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.

2 participants