shareplay-activities
Build shared real-time experiences using GroupActivities and SharePlay. Use when implementing shared media playback, collaborative app features, synchronized game state, or any FaceTime, Messages, AirDrop, or nearby visionOS group activity on iOS, macOS, tvOS, or visionOS.
npx skills add dpearson2699/swift-ios-skills --skill shareplay-activities --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# GroupActivities / SharePlay Build shared real-time experiences using the GroupActivities framework. SharePlay connects people over FaceTime, Messages, AirDrop, and nearby visionOS sharing, synchronizing media playback, app state, or custom data. ## Contents - [Setup](#setup) - [Defining a GroupActivity](#defining-a-groupactivity) - [Session Lifecycle](#session-lifecycle) - [Sending and Receiving Messages](#sending-and-receiving-messages) - [Coordinated Media Playback](#coordinated-media-playback) - [Starting SharePlay from Your App](#starting-shareplay-from-your-app) - [GroupSessionJournal: File Transfer](#groupsessionjournal-file-transfer) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Setup ### Capability Add the **Group Activities** capability to the app target in Xcode. Xcode adds the required entitlement and updates the provisioning profile: ```xml <key>com.apple.developer.group-session</key> <true/> ``` Configure this only for app targets. Group Activities are not available in widgets, extensions, or App Clips. ### Checking Eligibility ```swift import GroupActivities let observer = GroupStateObserver() // Check i
- Contents
- Setup
- Capability
- Checking Eligibility
- Defining a GroupActivity
- Activity Types
- Session Lifecycle
- Listening for Sessions
- Session States
- Handling State Changes
- Leaving and Ending
- Sending and Receiving Messages
- Defining Messages
- Sending
What does the shareplay-activities skill do?
Build shared real-time experiences using GroupActivities and SharePlay. Use when implementing shared media playback, collaborative app features, synchronized game state, or any FaceTime, Messages, AirDrop, or nearby visionOS group activity on iOS, macOS, tvOS, or visionOS.
How do I install it?
Run `npx skills add dpearson2699/swift-ios-skills --skill shareplay-activities --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.