How to correctly request foreground presentation when using GroupActivity?

Details

I'm working on a video streaming app, and we've implemented GroupActivity for SharePlay. The app doesn't support PiP.

Based on the documentation we found, we can use the function requestForegroundPresentation described here.

I was trying to call this function when the GroupSession is in waiting and joined states, but nothing happens on the user's device. There is no banner to explain anything

The WWDC videos doesn't show an example, they just mention this feature, and it's unclear how it should work.

Tried the api in the sample project supporting_coordinated_media_playback, and same result

How to correctly request foreground presentation when using GroupActivity?
 
 
Q