How to setup SharePlay reliably?

Hi,

I’m developing an app that uses SharePlay. In specific, I’m using ShareLink in my SwiftUI-based app so that when 2 devices come close, it will start SharePlay via AirDrop, just like how Name Drop works (the animation is super cool, btw).

However, I’ve notice that SharePlay doesn’t start reliably under the following conditions:

  • Do both devices need to be signed in using different Apple ID? I wish it works with the same Apple ID.
  • When both devices are running my app, the sharing does not seem to start; maybe both of them are trying to be the host app?
  • When I try to demo this NameDrop-like transaction via Zoom, it usually doesn’t work; maybe because the cable is connected in Lightening port? Is some Mac app (in my case, Zoom or even QuickTime) capturing the screen of the device make it less likely to have successful SharePlay transaction?

Thanks!

How to setup SharePlay reliably?
 
 
Q