Open LucioMSP opened 1 year ago
Seems like the url isn't valid to share... can you just hard code it in to see what happens?
Also you will want to test it on a real device for sure.
If I have tried physical (real) phones, that's why I dared to create the Issue. With respect to putting it directly, if it works, the detail is when I pass the ViewModel values to it, if it worked before but it seems that in the new version of iOS it doesn't. The code works perfectly on Android.
In fact, in a Console, if the text that I want to share appears.
Description
The share sheet does not show any icons of other apps on iOS 15.5 and iOS 15.7.6
Steps to Reproduce
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:
Nuget Packages:
Affected Devices:
Screenshots
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" });