Skip to content

[FEATURE] Add Live Location Sharing in Chat Conversations #120

Description

@Akash504-ai

Feature Description

Allow users to securely share their live location with other participants in direct and group conversations for a configurable duration. The shared location should update in real time until the sharing session expires or is manually stopped.

Users should have full control over when location sharing starts and ends.


Problem it solves

Users often need to share their real-time location while meeting friends, coordinating events, or tracking arrivals. Currently, they must rely on external applications, interrupting the conversation and reducing convenience.

Built-in live location sharing enables seamless coordination without leaving the chat application.


Possible Solution

  • Allow users to share their live location from the message composer.
  • Request location permission through the browser or device.
  • Support configurable sharing durations (e.g., 15 minutes, 1 hour, 8 hours).
  • Stream location updates in real time using Socket.IO.
  • Display live locations on an interactive map.
  • Allow users to stop sharing at any time.
  • Automatically stop sharing when the selected duration expires.
  • Ensure only conversation participants can access shared locations.

Additional Context

Acceptance Criteria

  • Users can start and stop live location sharing.
  • Real-time location updates are visible to conversation participants.
  • Configurable sharing duration is supported.
  • Works in both private and group chats.
  • Location sharing automatically expires after the selected duration.
  • Appropriate permission handling and error messages are implemented.
  • Existing messaging functionality remains unaffected.

This feature is inspired by modern messaging platforms such as WhatsApp, Telegram, and Google Maps, enabling users to securely share their live location for real-time coordination.

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions