Share Personal Benefit Calculation Result
Once a benefit calculation is displayed, the peer mentor can tap a share button on the benefit-results-card to invoke the benefit-share-service. This service composes a shareable payload — either a rendered image of the results card (using screenshot-capture-utility) or a formatted text summary — and triggers the native share sheet via the platform bridge. The shared content includes the peer mentor's aggregate metrics for the selected period and a call-to-action for the organization. Sensitive personal data (name, contact details) is excluded from the shareable payload by default. The share action is tracked for analytics. The feature supports both iOS and Android share patterns and handles cases where no sharing targets are available gracefully.
User Story
Acceptance Criteria
- Given a completed benefit calculation is displayed, When the peer mentor taps the share button, Then the benefit-share-service composes a shareable payload and the native OS share sheet opens within 1.5 seconds
- Given the share payload is composed, When sensitive-field-privacy-guard evaluates the content, Then no personally identifiable information (name, phone, email, personnummer) is included in the shared output
- Given the peer mentor completes a share action, When the share sheet is dismissed, Then the user is returned to the Benefit Calculator screen with their calculation still visible
- Given the device has no installed apps that accept share intents, When the share sheet opens, Then at minimum the copy-to-clipboard option is available
- Given the share action completes, When the benefit-share-service finalizes, Then a success confirmation is briefly shown to the user via an accessible live region announcement
Business Value
Peer-to-peer sharing of volunteer impact metrics is one of the most cost-effective recruitment tools available to nonprofit organizations. When an active peer mentor shares their calculated benefit on social media or messaging apps, it simultaneously validates the organization's mission, showcases real volunteer outcomes, and reaches potential new volunteers in an authentic, credible way. This directly supports HLF's and NHF's stated goals of growing their volunteer base through the app as a marketed membership benefit.
Components
- Benefit Calculator Screen ui
- Benefit Results Card ui
- Benefit Share Service service
- Benefit Calculation Result Model data
- Benefit Calculator BLoC infrastructure
- Sensitive Field Privacy Guard service
- Live Region Announcer ui