Summary Share Service
Component Detail
Service Layer
medium complexity
mobile
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Mobile-side service that generates a static shareable image or deep-link card from a given summary slide for distribution via platform share sheet. Renders the slide widget off-screen to a raster image at social-media-standard aspect ratios (1:1, 9:16) and constructs a deep-link URL that opens the annual summary screen for recipients.
summary-share-service
Responsibilities
- Render a summary slide to a raster PNG for sharing
- Construct deep-link URLs for individual or full summary
- Invoke the platform native share sheet with correct MIME type
- Ensure WCAG-compliant alt text is embedded in shared content metadata
Interfaces
shareSlide(slide: SummarySlide): Future<void>
renderSlideImage(slide: SummarySlide, aspectRatio: AspectRatio): Future<Uint8List>
buildDeepLink(userId: String, year: int): String