Group Activities

RSS for tag

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

Posts under Group Activities tag

84 Posts

Post

Replies

Boosts

Views

Activity

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
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