Group Activities

RSS for tag

Integrate your app into FaceTime to share its contents with groups of people.

Posts under Group Activities tag

100 Posts

Post

Replies

Boosts

Views

Activity

Is it possible to support SharePlay using applicationQueuePlayer (Media Player framework)?
As the title asks, is it possible to support SharePlay using the applicationQueuePlayer in the Media Player framework? It seems not to be possible since there is no AVPlaybackCoordinator available like there is for AVPlayer. Is that correct? It would be nice to be able to support this in my application if possible. Thanks!
2
0
1.1k
Oct ’21
Is changing the GroupActivity by replacing still the preferred way?
Hi there, I'm currently trying to implement SharePlay for one of my apps. Thanks to session wwdc21-10187, most of it went pretty smoothly. But at the end of the video, Adam talks about how to change activities and that's where I now struggle. He says that it is the preferred way to just replace the GroupActivity and demonstrates it for the reset button of the DrawTogether app. But this causes some behavior in iOS 15.1 that I would rather avoid. Let's say we have a FaceTime call with two participants, A and B and use the DrawTogether app. A starts the GroupActivity. If A now resets the canvas, a notification stating Started Draw Together will appear for both users. This is not super nice, but I could live with that. But if B wants to reset the canvas, B will see an alert that states: Replace Draw Together? This will end the existing SharePlay activity and start a new one , with the option to "Replace Existing" or "Cancel". This will most likely throw the user B off - B just wanted to clean the canvas and stay in the same session (they shouldn't even need to think about sessions) So my question is - Is changing the GroupActivity by replacing it still the preferred way if we want to have a clean slate? And if it is, how can I get rid of that alert that B sees? This is probably possible by actually doing the replacement through A (so through the GroupActivity "creator/owner"), but as far as I saw it in the documentation, there is currently no way to get that "owner", right? To give a bit more context - I have an app where participants go through lessons together. They do not care about the history of completed lessons, every lesson should start from a clean slate. Through interaction, any participant could trigger the progression to the next lesson and so it is pretty distracting if this progression is interrupted by the aforementioned alert. BTW: The code example is great, but as someone already noted over here, it does not compile since the API changed a bit (currently on iOS 15.1, but it was already broken before that). Thanks! Klemens
1
0
1.3k
Oct ’21
Has anyone been able to get SharePlay working with the iOS 14 beta 7 and the SharePlay development profile?
I have the iOS 14 beta 7 and the SharePlay development profile installed on two devices, however whenever I'm on a FaceTime call with them, GroupStateObserver().isEligibleForGroupSession returns false in the app that I am attempting to start a group activity in. Has anyone been able to successfully get SharePlay working using this configuration, which should supposedly work according to https://developer.apple.com/forums/thread/688155?
3
0
1.4k
Oct ’21
GroupActivities in a Project with Min Deployment Target iOS13
Hello All, Currently I'm implementing GroupActivities for a production app. The question isn't about the implementation, rather it's about staying backward compatible. The app's minimum target is iOS 13.0. The new features are implemented with appropriate @available checks so that there aren't any issues while compiling for iOS 13 & iOS 14. When the app is run on a iOS 13.0 simulator though, it crashes during launch, stating: dyld: Library not loaded: /usr/lib/swift/libswift_Concurrency.dylib So I have added the libswift_Concurrency.tbd to be optionally linked to the main app target as seen in the screenshot. After this it seems to be working fine but I wanted to ask whether this is the right way to go in this particular situation or is there something else that needs to be done? Thanks in advance for your time! All the best, Ferhat
3
0
2.8k
Oct ’21
Picture-In-Picture not starting in the background with AVFoundation based player
While working on an app that uses a custom player based on AVFoundation, ie not based on AVPlayerViewController, I was unable to get picture-in-picture to start while the app was in the background with Group Activities. It turns out we were initiating and configuring our AVPictureInPictureController after coordinating our GroupSession with the players AVPlayerPlaybackCoordinator. Once we setup the picture-in-picture controller first, then coordinated the group session, background picture-in-picture started working. Hope this helps others in the same situation.
0
0
621
Sep ’21
Shareplay beta 6 - Has anyone got it to work?
My assumption is that Shareplay will continue to work for devices with the "Shareplay Development Profile" installed. We appreciate how many teams have been hard at work building SharePlay experiences and to ensure there is no interruption in your development, we have provided a SharePlay Development Profile which will enable successful creation and reception of GroupSessions via the Group Activities API. I have: Installed Shareplay Development Profile on devices Remove the Capability for Group Activities from app Capabilities. I can't submit build to App Store Connect with this. However isEligableForGroupSession now always returns false and I am unable to start Group Activities. Has anyone got their Shareplay back up and running since the latest Betas? Running Xcode beta 5 & iOS Beta 6 on 2 Shareplay devices.
6
0
1.8k
Aug ’21
SharePlay Developer Profile Not Working
IOS 15 Beta 6 has disabled SharePlay. According to emails sent out, installing the SharePlay Developer Profile should reenable SharePlay for development. This does not work for me, after installing the Profile on two Beta 6 devices and restarting them, our app ever gets isEligibleForGroupSession == true, although there is an active FaceTime call running. Even if I ignore this and try to run activate() on the GroupActivity, I get an error message saying it can't activate as there are no sessions. This all worked with beta 5 in our .generic GroupActivity app. Is this working for anyone? If yes what did you change when compared to beta 5? Have I missed something?
4
0
1.5k
Aug ’21
Creating FaceTime Link in-app
Will we be able to create the new iOS15 FaceTime links in our apps, so we can share them in-app with our users? I've searched online and the closest thing I found was the old URL scheme that looks like this: facetime://user@example.com But you have to know the email address / phone number of the person to call. I know the new FaceTime links allow you to essentially "schedule" a FaceTime call with a unique identifier, so I was wondering if these links could be generated in our apps.
1
1
990
Aug ’21
Shareplay for custom video controls playback
Hi We are trying to implement Group watching feature with the help of Group Activities available in iOS 15 onwards We can share the session across the user, and the proper content is launched in the Player. Now we need to coordinate the player activity. We are using custom video controls over AVPlayer and it seems by default calling the below line of code does not seems to be work. player?.playbackCoordinator.coordinateWithSession(session) Now we are stuck with coordinating player activity. The example mentions default controls with AVPlayer, but in our case, we have custom video controls on top of AVPlayer. https://developer.apple.com/videos/play/wwdc2021/10225/ So will the player automatically coordinate with the group session, or do we need to implement AVDelegatingPlaybackCoordinator for the same. Please help!
1
0
1.3k
Aug ’21
How can I create a note-taking app that supports SharePlay?
I would like to create a custom experience using Group Activities. It would be a simple note-taking app in which the users can create a shared note using SharePlay. The tricky part: I would like to save the created note persistently (using CoreData) on all of the user's devices. Is it possible to save the data on all of the devices using Core Data or any other technology?
0
0
1.2k
Jul ’21
Is it possible to support SharePlay using applicationQueuePlayer (Media Player framework)?
As the title asks, is it possible to support SharePlay using the applicationQueuePlayer in the Media Player framework? It seems not to be possible since there is no AVPlaybackCoordinator available like there is for AVPlayer. Is that correct? It would be nice to be able to support this in my application if possible. Thanks!
Replies
2
Boosts
0
Views
1.1k
Activity
Oct ’21
Is changing the GroupActivity by replacing still the preferred way?
Hi there, I'm currently trying to implement SharePlay for one of my apps. Thanks to session wwdc21-10187, most of it went pretty smoothly. But at the end of the video, Adam talks about how to change activities and that's where I now struggle. He says that it is the preferred way to just replace the GroupActivity and demonstrates it for the reset button of the DrawTogether app. But this causes some behavior in iOS 15.1 that I would rather avoid. Let's say we have a FaceTime call with two participants, A and B and use the DrawTogether app. A starts the GroupActivity. If A now resets the canvas, a notification stating Started Draw Together will appear for both users. This is not super nice, but I could live with that. But if B wants to reset the canvas, B will see an alert that states: Replace Draw Together? This will end the existing SharePlay activity and start a new one , with the option to "Replace Existing" or "Cancel". This will most likely throw the user B off - B just wanted to clean the canvas and stay in the same session (they shouldn't even need to think about sessions) So my question is - Is changing the GroupActivity by replacing it still the preferred way if we want to have a clean slate? And if it is, how can I get rid of that alert that B sees? This is probably possible by actually doing the replacement through A (so through the GroupActivity "creator/owner"), but as far as I saw it in the documentation, there is currently no way to get that "owner", right? To give a bit more context - I have an app where participants go through lessons together. They do not care about the history of completed lessons, every lesson should start from a clean slate. Through interaction, any participant could trigger the progression to the next lesson and so it is pretty distracting if this progression is interrupted by the aforementioned alert. BTW: The code example is great, but as someone already noted over here, it does not compile since the API changed a bit (currently on iOS 15.1, but it was already broken before that). Thanks! Klemens
Replies
1
Boosts
0
Views
1.3k
Activity
Oct ’21
Has anyone been able to get SharePlay working with the iOS 14 beta 7 and the SharePlay development profile?
I have the iOS 14 beta 7 and the SharePlay development profile installed on two devices, however whenever I'm on a FaceTime call with them, GroupStateObserver().isEligibleForGroupSession returns false in the app that I am attempting to start a group activity in. Has anyone been able to successfully get SharePlay working using this configuration, which should supposedly work according to https://developer.apple.com/forums/thread/688155?
Replies
3
Boosts
0
Views
1.4k
Activity
Oct ’21
GroupActivities in a Project with Min Deployment Target iOS13
Hello All, Currently I'm implementing GroupActivities for a production app. The question isn't about the implementation, rather it's about staying backward compatible. The app's minimum target is iOS 13.0. The new features are implemented with appropriate @available checks so that there aren't any issues while compiling for iOS 13 & iOS 14. When the app is run on a iOS 13.0 simulator though, it crashes during launch, stating: dyld: Library not loaded: /usr/lib/swift/libswift_Concurrency.dylib So I have added the libswift_Concurrency.tbd to be optionally linked to the main app target as seen in the screenshot. After this it seems to be working fine but I wanted to ask whether this is the right way to go in this particular situation or is there something else that needs to be done? Thanks in advance for your time! All the best, Ferhat
Replies
3
Boosts
0
Views
2.8k
Activity
Oct ’21
I don’t have the SharePlay button on FaceTime on iOS 15 beta version
the button for SharePlay on FaceTime is not there. my phone is updated to the iOS 15 beta version
Replies
2
Boosts
0
Views
5.0k
Activity
Oct ’21
SharePlay through iOS Simulator
Is it possible to use and debug SharePlay through the iOS Simulator like with iMessage apps?
Replies
3
Boosts
0
Views
2.7k
Activity
Sep ’21
SharePlay disabled again in iOS 15 RC?
How do we re-enable Share Play in iOS 15 RC? It is gone again.
Replies
3
Boosts
0
Views
1.1k
Activity
Sep ’21
DrawTogether example code?
Would like to play with this example project shown on session wwdc21-10187
Replies
10
Boosts
0
Views
4.4k
Activity
Sep ’21
Picture-In-Picture not starting in the background with AVFoundation based player
While working on an app that uses a custom player based on AVFoundation, ie not based on AVPlayerViewController, I was unable to get picture-in-picture to start while the app was in the background with Group Activities. It turns out we were initiating and configuring our AVPictureInPictureController after coordinating our GroupSession with the players AVPlayerPlaybackCoordinator. Once we setup the picture-in-picture controller first, then coordinated the group session, background picture-in-picture started working. Hope this helps others in the same situation.
Replies
0
Boosts
0
Views
621
Activity
Sep ’21
FaceTime Screen Share option
I have an Iphone XR, my brother has an Iphone 11, Both upgraded to iOS 15, We do not have the option when we are in a facetime call to share screen. We are in Dominican Republic, are we blocked to this feature?
Replies
1
Boosts
0
Views
602
Activity
Sep ’21
SharePlay not possible in iOS 15 RC and MacOS beta 6 & can no longer download a Shareplay profile
Apple please help. The iOS/iPadOS 15 RC disables shareplay. MacOS Beta 6 was never able to run shareplay. Downloading a SharePlay profile has been removed from developer.apple.com. Please instruct what to do.
Replies
2
Boosts
0
Views
1.5k
Activity
Sep ’21
How does SharePlay handle streaming Ad.?
How to handle ads which are dynamically inserted with inconsistent length, it will cause stream out of sync.
Replies
0
Boosts
0
Views
582
Activity
Sep ’21
Shareplay beta 6 - Has anyone got it to work?
My assumption is that Shareplay will continue to work for devices with the "Shareplay Development Profile" installed. We appreciate how many teams have been hard at work building SharePlay experiences and to ensure there is no interruption in your development, we have provided a SharePlay Development Profile which will enable successful creation and reception of GroupSessions via the Group Activities API. I have: Installed Shareplay Development Profile on devices Remove the Capability for Group Activities from app Capabilities. I can't submit build to App Store Connect with this. However isEligableForGroupSession now always returns false and I am unable to start Group Activities. Has anyone got their Shareplay back up and running since the latest Betas? Running Xcode beta 5 & iOS Beta 6 on 2 Shareplay devices.
Replies
6
Boosts
0
Views
1.8k
Activity
Aug ’21
SharePlay Developer Profile Not Working
IOS 15 Beta 6 has disabled SharePlay. According to emails sent out, installing the SharePlay Developer Profile should reenable SharePlay for development. This does not work for me, after installing the Profile on two Beta 6 devices and restarting them, our app ever gets isEligibleForGroupSession == true, although there is an active FaceTime call running. Even if I ignore this and try to run activate() on the GroupActivity, I get an error message saying it can't activate as there are no sessions. This all worked with beta 5 in our .generic GroupActivity app. Is this working for anyone? If yes what did you change when compared to beta 5? Have I missed something?
Replies
4
Boosts
0
Views
1.5k
Activity
Aug ’21
Creating FaceTime Link in-app
Will we be able to create the new iOS15 FaceTime links in our apps, so we can share them in-app with our users? I've searched online and the closest thing I found was the old URL scheme that looks like this: facetime://user@example.com But you have to know the email address / phone number of the person to call. I know the new FaceTime links allow you to essentially "schedule" a FaceTime call with a unique identifier, so I was wondering if these links could be generated in our apps.
Replies
1
Boosts
1
Views
990
Activity
Aug ’21
Shareplay for custom video controls playback
Hi We are trying to implement Group watching feature with the help of Group Activities available in iOS 15 onwards We can share the session across the user, and the proper content is launched in the Player. Now we need to coordinate the player activity. We are using custom video controls over AVPlayer and it seems by default calling the below line of code does not seems to be work. player?.playbackCoordinator.coordinateWithSession(session) Now we are stuck with coordinating player activity. The example mentions default controls with AVPlayer, but in our case, we have custom video controls on top of AVPlayer. https://developer.apple.com/videos/play/wwdc2021/10225/ So will the player automatically coordinate with the group session, or do we need to implement AVDelegatingPlaybackCoordinator for the same. Please help!
Replies
1
Boosts
0
Views
1.3k
Activity
Aug ’21
Is there a working, sample code for GroupActivity API for all platforms?
Is there a working, sample code for GroupActivity API for all platforms?
Replies
0
Boosts
0
Views
777
Activity
Aug ’21
Exposing locallyInitiated property on group session
When printing a GroupSession object I see that "locallyInitiated" is included in the print and I would like to update / prepare my UI based on the initiator of the Group Session. Can "locallyInitiated" be added as a property to the GroupSession object?
Replies
0
Boosts
0
Views
830
Activity
Jul ’21
Sending participant activity-based Toast Notifications
Is there a way to to send notifications based on a participants activity? Like in the Keynote, Apple included example for Music app where a participant adds songs to a shared queue and all other users get a notification about the activity.
Replies
1
Boosts
0
Views
1.5k
Activity
Jul ’21
How can I create a note-taking app that supports SharePlay?
I would like to create a custom experience using Group Activities. It would be a simple note-taking app in which the users can create a shared note using SharePlay. The tricky part: I would like to save the created note persistently (using CoreData) on all of the user's devices. Is it possible to save the data on all of the devices using Core Data or any other technology?
Replies
0
Boosts
0
Views
1.2k
Activity
Jul ’21