Meet Group Activities

RSS for tag

Discuss the WWDC21 session Meet Group Activities.

View Session

Posts under wwdc21-10183 tag

26 Posts
Sort by:
Post not yet marked as solved
1 Replies
680 Views
i have an MFI portal license and account. when i try to login it shows below error. May i know the reason for this? "label.sessionExpiryMessage "
Posted
by
Post marked as solved
9 Replies
2.2k Views
I have been testing my new SharePlay app for many weeks now just fine. Now with the unpleasant surprise that SharePlay is disabled in iOS 15 beta 6 and won't make the 15.0 release, I still want to continue testing my app, but I can't get the SharePlay Developer Profile to re-enabled SharePlay. I have iOS 15 beta 6 on both devices, the new SharePlay Developer Profile installed, and rebooted both devices, and isEligibleForGroupActivities is never true even when on a FaceTime call. So it appears that SharePlay is still disabled even with the profile installed on both devices. Has anyone gotten the new SharePlay Developer Profile to work as intended? Do we need a new Xcode version to get it working again? There hasn't been an Xcode 13 beta 6 released yet so that's the only thing I can think of that might be missing.
Posted
by
Post not yet marked as solved
0 Replies
294 Views
Hi everyone, Actually I purchased a MacBook Air 8gb 256gb today when Iam attending a meeting from Google meet iam getting a tik tik (clicking sounds) kinda sounds from my MacBook Air speaker but when iam listening songs from youtube for more than several hours I didn't get any tik tik sounds from my MacBook Air speakers If anyone knows how to solve this problem please tell me..... Thank you....
Post marked as solved
1 Replies
444 Views
While observing GroupSession objects for my GroupActivity via the .sessions() async sequence, updated sessions are never received with with new states. Neither state == .joined or state == invalidated are received after calling session.join() and session.leave() respectively: Task { for await session in MyGroupActivity.sessions() {         switch session.state {      case .waiting:        // Received after activating activity.      case .joined:        // Never received after calling `session.join()`.      case .invalidated:        // Never received after calling `session.leave()`, ending the FaceTime call, or after other participating user ends session for everyone. } } }
Posted
by
Post not yet marked as solved
1 Replies
591 Views
I am attempting to support SharePlay for live video in my app. I am calling playbackCoordinator.coordinateWithSession(_:) on my AVPlayer instance with a successfully joined session and both video playback and playback controls are not syncing across devices. I have installed the SharePlay developer profile on both devices. I verified that I am receiving and joining session objects on all devices and passing it along to the player’s playback coordinator. All session states and activity events are successfully being sent & received; however, playback and playback controls are still not syncing across the devices. Are there any other criteria for playback coordination that I could be missing? Perhaps something I should not be doing with regards to the player? Does SharePlay not work for live video?
Posted
by
Post not yet marked as solved
1 Replies
445 Views
Hi Apple, please help! In MacOS Monterey betas 2-5, I was able to run GroupActivities on my Mac Catalyst app. When running my app with GroupActivities on MacOS Monterey beta 7, I get an error: "GroupActivities is not available when building for Mac Catalyst. Consider using #if !targetEnvironment(macCatalyst) to conditionally import this framework when building for iOS." No such module 'GroupActivities' Is SharePlay going to be available for Mac Catalyst in an upcoming beta?
Posted
by
Post not yet marked as solved
1 Replies
380 Views
I recently downloaded IOS 15.1 expecting to see the shareplay button, but i’m seeing nothing. The person i’m trying to use it with also is updated to 15.1, and i’ve tried everything to get it to work. Please help! This is something I and a lot of other people have been looking forward to and i’m assuming it’s not just my friend and I’s phone who’s aren’t working.
Posted
by
Post not yet marked as solved
0 Replies
268 Views
I am trying to implement SharePlay in one of my apps.  I am calling playbackCoordinator.coordinateWithSession(_:) on my AVPlayer instance with a successfully joined session and both video playback and playback controls are not syncing across devices. Everything seems to look fine except synchronization. Sometimes it is working fine. Playback and Playback controls work fine on connected devices. But this doesn't always work. Sometimes connected devices don't sync at all. If I pause or play then a popup does come stating pause and play event but this does not reflect on other connected users. I am so confused and had no idea about the issue.
Posted
by
Post not yet marked as solved
0 Replies
262 Views
when is it appropriate to listen for activity sessions if my app has multiple screens? Lets say I have an app Main Screen -> List of videos Screen -> Player screen Few cases that I would like to combine: Two people on a call, both have app closed: If I start session inside Player, other participant will open an app on main screen how do I navigate it to the player initially? Should I start listening for activity session on the main screen already and then if session is observed I need to set navigation stack and join session side player when it opens? Two people on a call, both have app opened and watching different contents: If I start session inside Player, other participant will replace it's current playing item with one that is shared how to combines this two cases with one implementation? Or SharePlay is not meant to be leading you right to the player screen when shareplay starts, and users should open same content manually before shareplaying?
Posted
by
Post not yet marked as solved
0 Replies
387 Views
When a user is in a Facetime call and accepted the SharePlay request, I want to push a specific ViewController. So I thought it would be same as to get notification when the user tap "accept". But this was not the case. Nothing were printed out in the logs. Is there another way to know when the app (in the background or terminated) is launched or openend by accepting a SharePlay request ? import UIKit import UserNotifications @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. // to perform action when notification is tapped UNUserNotificationCenter.current().delegate = self registerForPushNotifications() return true } func registerForPushNotifications() { UNUserNotificationCenter.current() .requestAuthorization(options: [.alert, .sound, .badge]) { [weak self] granted, error in print("Permission granted: \(granted)") guard granted else { return } self?.getNotificationSettings() } } func getNotificationSettings() { UNUserNotificationCenter.current().getNotificationSettings { settings in print("Notification settings: \(settings)") guard settings.authorizationStatus == .authorized else { return } DispatchQueue.main.async { UIApplication.shared.registerForRemoteNotifications() } } } extension AppDelegate : UNUserNotificationCenterDelegate { func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) { let application = UIApplication.shared if(application.applicationState == .active){ print("user tapped the notification bar when the app is in foreground") } if(application.applicationState == .inactive) { print("user tapped the notification bar when the app is in background") } guard let rootViewController = (UIApplication.shared.connectedScenes.first?.delegate as? SceneDelegate)?.window?.rootViewController else { return } // Do some work completionHandler() } }
Posted
by
Post not yet marked as solved
1 Replies
322 Views
Hi, Currently I'm working on Share Play. And I struggled a lot on the issue that: In some cases, we need to share what other user(s) is(are) doing, so I made a custom event to share with all participants. But when 2 (or more) users send the activities with custom event at the same (or very similar) time, looks like groupSession ignores other users activities. Is there any way to solve this problem? or any idea to handle this situation? I just used same code with Apple's sample project. (sink completion is not called for other users activity sometimes) groupSession.$activity.sink { [weak self] activity in                     // Set the movie to enqueue it in the player.                     self?.enqueuedMovie = activity.movie                 }.store(in: &subscriptions)
Posted
by
Post not yet marked as solved
0 Replies
265 Views
Getting the following error while running C++ CGI on browser Error msg in log Mon Jan 10 14:10:56.092728 2022] [cgi:error] [pid 9743] [client ::1:56104] AH01215: (8)Exec format error: exec of '/usr/local/var/www/cgi-bin/web01.cgi' failed: /usr/local/var/www/cgi-bin/web01.cgi [Mon Jan 10 14:10:56.093580 2022] [cgi:error] [pid 9743] [client ::1:56104] End of script output before headers: web01.cgi Regards
Posted
by