Skip to content

Implement the concept of deferred deep link. #113

@dhakar66

Description

@dhakar66

1. User Story

As a practitioner committed to a routine,
I need an "Invite Friends" button on my active Practice Plan,
In order to send a direct invitation to friends to join me in this specific Sadhana, PP, or routine.


2. Definition of Done (DoD)

  • Location: The button is located on the Practice Plan overview page.
  • Output Format: Clicking share generates a Dynamic Link (Deep Link).
  • Default Message: The shared message text defaults to:

    "Join me in practicing [Name of Plan] on [App Name]."

3. Link Behavior Logic

When the receiver clicks the link:

  • If App installed: Opens directly to the specific Plan start page.
  • If App NOT installed: Redirects to App Store/Play Store.3. Visual Reference
    >
    > [ INSERT SCREENSHOT OF PLAN OVERVIEW & INVITE MODAL attached ]

Subtasks:

  • Handle HTTP/HTTPS Links for:
    • Android App Links
    • IOS Universal Links
    • register your domain within the app code (manifest file on Android and Associated Domains on iOS) and verify your mobile application on the server side.

Edge Cases to Handle

  • User not authenticated:
    • Link opens → Redirect to login → After login → Show plan
  • Plan no longer exists:
    • Show error: "This plan is no longer available"
    • Offer similar plans
  • User already enrolled:
    • Don't show "Start Plan"
    • Show "You're already enrolled in this plan"
    • Option to navigate to their active plan
  • Offline mode:
    • Store pending deep link
    • Process when connection restored
  • Different app versions:
    • Receiver has older version without feature
    • Graceful fallback

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

BLOCKED

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions