Exemple #1
0
        async Task ShareWithFriends(Xamarin.Forms.View element)
        {
            try
            {
                Analytics.TrackEvent("ShareWithFriends");
                var bounds = element.GetAbsoluteBounds();

                await Share.RequestAsync(new ShareTextRequest
                {
                    PresentationSourceBounds = bounds.ToSystemRectangle(),
                    Title = "Island Tracker for ACNH",
                    Text  = "Checkout Island Tracker for ACNH and track turnips with me: https://islandtracker.app"
                });
            }
            catch (Exception)
            {
            }
        }