Share a video from Youtube to iOS maui app

yaron kadman 81 Reputation points
2023-11-15T10:36:14.6066667+00:00

Hi,

I am trying to make my .net Maui app available on the share menu so that I can let users share video urls from Youtube and then open my app at a certain page with that url already showing in one of the fields on the page.

I was able to do it in Android.

Doing it in iOS is more complex, did anyone manage to implement this functionality in iOS?

As far as I understand I need to use an App Extension Share project or universal links. From what I understand the extension Share project route will make my app visible on the share menu (from Youtue for example) so that I can choose my app).

Any help would be appreciated in this matter.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,411 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,666 Reputation points Microsoft Vendor
    2023-11-16T09:31:13.21+00:00

    Hello,

    You are right. Opening links to your own app needs to use App Extension Share project or universal links. But universal links is not suitable for this sharing situation. You could try iOS share extension.

    For more details, please refer to the GitHub discussion- iOS Extensions #3289

    (iOS App Extensions are available with MAUI/.net-ios)

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.