Share Service
Component Detail
Service Layer
low complexity
mobile
0
Dependencies
1
Dependents
1
Entities
0
Integrations
Description
Constructs shareable payloads from the user's public profile data, generating either a deep link URL or a plain-text summary. Invokes the platform's native share APIs via Flutter's share_plus package and ensures that only explicitly designated public fields are included in the shared content, excluding sensitive data such as encrypted assignments or personal settings.
share-service
Responsibilities
- Build shareable deep link URL with universal link configuration
- Generate plain-text profile summary from public fields only
- Filter out sensitive and private profile data before sharing
- Invoke native share sheet via share_plus package
- Validate deep link format for iOS Associated Domains and Android App Links
Interfaces
generateShareLink(userId)
generateTextSummary(userId)
shareViaNativeSheet(payload)
getPublicProfileFields(userId)
validateDeepLink(url)