medium complexity extracted Certification & Training Confidence: 100%
7
Components
106
Shared
0
User Stories
Yes
Analyzed

Description

Digital Peer Mentor Certificate provides peer mentors with an in-app view of their official certification status, including certificate validity dates, issuing organization, and a shareable digital representation of their peer mentor credential. The feature tracks active, expiring, and expired certificates and surfaces timely renewal prompts. It complements the physical certificate card that organizations like HLF consider a badge of honor, ensuring the digital record always reflects the current certification state.

User Flow

Digital Peer Mentor Certificate user flow
Click to expand

Analysis

Business Value

Providing a digital certificate within the app creates a tangible, motivating artifact that reflects a peer mentor's professional standing. HLF specifically identified the physical certificate as an 'adelsmerke' (badge of honor) that must be preserved; the digital equivalent extends this recognition to the app context without replacing the physical card. Automated expiry tracking eliminates the organizational risk of uncertified mentors remaining active — HLF requires that mentors with expired certificates are automatically removed from public listings. This feature also supports compliance reporting for Bufdir by making certification status queryable.

Implementation Notes

Certificates are stored in the certifications table linked to users and certification_types. The Flutter certificate screen fetches the user's current certification via the REST API and renders a styled digital card using Flutter's custom painting or an SVG-based widget. Expiry dates drive scheduled push notifications generated server-side. For organizations requiring automatic deactivation upon expiry, a background job on the Next.js backend updates user role visibility. The certificate detail screen includes a share sheet (iOS/Android native share) allowing mentors to share their credential as an image or PDF. All certificate rendering must meet WCAG 2.2 AA contrast requirements.

Components (113)

User Interface (2)

Service Layer (2)

Data Layer (2)

Infrastructure (1)

Shared Components

These components are reused across multiple features

Service Layer (34)

Data Layer (22)

Infrastructure (38)

infrastructure Keychain/Keystore Adapter low Shared infrastructure JWT Claims Extractor low Shared infrastructure Organization Labels Adapter low Shared infrastructure Keychain/Keystore Adapter low Shared infrastructure Auth API Client medium Shared infrastructure REST API Client medium Shared infrastructure WCAG Accessibility Adapter low Shared infrastructure Registration API Client low Shared infrastructure Accounting API Client high Shared infrastructure PDF Renderer Adapter medium Shared infrastructure File Share Adapter low Shared infrastructure FCM/APNs Adapter high Shared infrastructure Share Sheet Adapter low Shared infrastructure Share Plus Adapter low Shared infrastructure Platform Accessibility Bridge medium Shared infrastructure Semantics Override Adapter high Shared infrastructure URL Launcher Adapter low Shared infrastructure Markdown Content Renderer low Shared infrastructure Network Connectivity Monitor low Shared infrastructure Expense Receipt Storage Adapter low Shared infrastructure Audit Log Writer low Shared infrastructure Feature Flag Checker low Shared infrastructure Logo Upload Adapter low Shared infrastructure Terminology Constants Registry low Shared infrastructure Feature Flag Cache Adapter low Shared infrastructure Org Scope JWT Resolver medium Shared infrastructure Association Audit Logger low Shared infrastructure Token Blocklist medium Shared infrastructure Analytics Tracker low Shared infrastructure SEO Metadata Config low Shared infrastructure Analytics Tracker low Shared infrastructure Analytics Tracker low Shared infrastructure Sales Analytics Tracker low Shared infrastructure Email Provider Adapter low Shared infrastructure Terms of Service Content Provider low Shared infrastructure Legal PDF Asset Provider low Shared infrastructure Consent-Gated Script Loader low Shared infrastructure Legal Page Layout low Shared

User Stories

No user stories have been generated for this feature yet.