iOS app + widgets for tracking videos shared between two people across social platforms.
- SwiftUI · iOS 17+
- WidgetKit — home screen widgets (single-platform + overview)
- CloudKit — sync share events between paired users
- App Groups — shared state across app, widget, and share extension
| Target | Bundle ID suffix | Role |
|---|---|---|
| ShareTrack | .thing |
Main app |
| ShareTrack Widget | .thing.widget |
WidgetKit extension |
| Track Share | .thing.share |
Share extension |
Third-party apps (Instagram, TikTok, etc.) do not expose DM APIs. ShareTrack uses:
- Share extension — Share → Track Share from any social app
- Clipboard detection — copy a link, confirm in-app
- Manual log — Settings → Log a Share
Events sync via CloudKit public database record types: SMWUser, SMWShareEvent, SMWFriendship.
22 themes · 6 layout styles (glass, card, neon, mesh, outline, flat) · accent presets + custom color picker. Config persisted to App Group UserDefaults as widgetConfigJSON.
./setup.sh open # generate Xcode project and open- Apple Developer: enable App Groups + iCloud (CloudKit) on
com.socialmediawidget.thing - App Group:
group.com.socialmediawidget.thing - iCloud container:
iCloud.com.socialmediawidget.thing - Set signing team on all three targets in Xcode
Optional Discord OAuth: set discordClientID in Shared/AppConstants.swift.
./setup.sh archiveOr Product → Archive → Distribute to App Store Connect.
Shared/ Models, services, widget renderer (app + extensions)
SocialMediaWidgetThing/ Main SwiftUI app
SocialWidgetExtension/ WidgetKit targets
ShareTrackerExtension/ Share extension
project.yml XcodeGen spec
\n\n---\n\nAuthor: Dhruv Hegde · CS @ University of Michigan\n License: MIT