What problem does it solve?
RelevanceKit helps app and widget developers increase Smart Stack visibility by providing accurate, contextual “when this widget matters” signals on Apple Watch.
Core Features & Use Cases
- Time-based relevance: Make widgets appear around specific moments using single dates, date ranges, or intervals with optional date kinds (e.g., scheduled).
- Location-based relevance: Trigger widget visibility from inferred places (home/work/school/commute) or from specific regions and point-of-interest categories.
- Personal context relevance: Drive relevance using fitness and sleep states (HealthKit) and connected hardware (e.g., headphones).
- Composable relevance logic: Return multiple relevance attributes ordered by priority so the system can select the best subset.
- Two integration paths: Add relevance to timeline providers via
relevance() and/or build watchOS 26+ “relevant widgets” via RelevanceConfiguration + RelevanceEntriesProvider.
- Practical widget wiring: Handle widget-extension permissions, preview rendering, placeholder entries, deduplication with
.associatedKind(_:), and permission-aware graceful degradation.
Quick Start
Implement RelevanceKit relevance for your watchOS widget by creating RelevantContext clues (time/location/fitness/sleep/hardware as needed), returning ordered WidgetRelevanceAttribute items from your provider, and wiring them into either AppIntentTimelineProvider.relevance() or a RelevanceConfiguration using RelevanceEntriesProvider on watchOS 26+.