Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.
This repository was archived by the owner on May 15, 2024. It is now read-only.

[Bug] Xamarin.Essentials Share not working on iOS  #2096

@LucioD3v

Description

@LucioD3v

Description

The share sheet does not show any icons of other apps on iOS 15.5 and iOS 15.7.6

Steps to Reproduce

  1. Create a Xamarin.Forms app to consume Xamarin.Essentials Share
  2. Click on that icon to show Share Sheet

Expected Behavior

Share Sheet with icons of other applications

Actual Behavior

Share Sheet is empty

Code Sample

if (Device.RuntimePlatform == Device.iOS)
{
await Share.RequestAsync(new ShareTextRequest
{
Title = "Name",
Text = "",
Subject = "",
Uri = ViewModel.PersonalDetail.AccessUrl.ToString()
});
}

Basic Information

It happens both on physical device and emulator.

  • Version with issue: N/A

  • Last known good version: N/A

  • IDE: Visual Studio for Mac ENTERPRISE

  • Platform Target Frameworks:

    • iOS: 15.5
  • Nuget Packages:

  • Affected Devices:

Screenshots

Screenshot 2023-07-28 at 2 30 19 PM

Reproduction Link

If I leave the following code in the Uri it displays as follows:

await Share.RequestAsync(new ShareTextRequest
{
Title = "Name",
Text = "",
Subject = "",
Uri = "htttps.google.com"
});

Screenshot 2023-07-28 at 4 21 20 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions