Activity communication issue in Apple Share Play

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)

Self Answer:

I added GroupSessionMessenger on the Group Session for the activity. And looks fine so far.

But looks like GroupSessionMessenger has some limitation such as data length or so. So need to send/receive compact data for GroupSessionMessenger.

Activity communication issue in Apple Share Play
 
 
Q