Broadcast Extension with ReplayKit Xamarin iOS not working

Loay Shaaban 21 Reputation points
2022-09-18T12:41:30.787+00:00

I'm trying to add a broadcast extension to Xamarin.iOS (part of Xamarin.Forms app) but the extension is not visible in screen-broadcast (control center) when I want to start a broadcast from either in the app or the screen-broadcast (control center)
242234-broadcaster-ios.png

It's very sample to reproduce it, just create a new Xamarin.Forms project (iOS, Android) , then add broadcastUploadExtension to Xamarin.iOS project which has provision profile working, then run it on real iphone device.

Are there any custom settings for Xamarin.iOS project that I should make, or am I missing something?

Is there one working example that makes the app visible in screen-broadcast (control center)

Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,451 Reputation points Microsoft Vendor
    2022-09-20T08:19:29.867+00:00

    Hello @Loay Shaaban ,

    As your description, the main problem is that the app will appear in the control center when you create an extension via Xcode instead of VS.
    The BroadcastUIExtension project will be created automatically when you create a BroadcastUploadExtension project in VS, you can open the info.plist in both projects and double-check the NSExtension key.
    The value of the NSExtensionPointIdentifier for BroadcastUploadExtension project is written as com.apple.broadcast-services by default
    and should be com.apple.broadcast-services-upload
    The value of the NSExtensionPointIdentifier for BroadcastUIExtension project is written as com.apple.broadcast-services by default
    and should be com.apple.broadcast-services-setupui

    The app will appear in the control center if the NSExtensionPointIdentifier is correct.

    Best Regards,
    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful