Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(share): fix share button unresponsive on Overview for iOS and Android #967

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Arieldelossantos
Copy link

GitHub Issue (If applicable): unoplatform/uno#9012

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

Share button on Overview page is not working

What is the new behavior?

Share button is working and shares the Lunk to UnoGallery app

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested on iOS.
  • Tested on Wasm.
  • Tested on Android.
  • Tested on UWP.
  • Tested in both Light and Dark themes.
  • Associated with an issue (GitHub or internal)

Other information

Haven't tested iOS because it is not deploying to my physical device

args.Request.Data.Properties.Title = "Uno Gallery - Share-Sample Title";
args.Request.Data.Properties.Description = "See this awesome project:";

args.Request.Data.SetWebLink(new Uri("https://gallery.platform.uno/"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't share yhe sample I believe?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when you say the sample... what do you mean?? what this does is shares the URL :/
what was the old behavior??

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The old behavior is that the shared link corresponds to a specific sample and design (fluent, material, cupertino, agnostic).

Opening the link should then open the app on the specific sample.

See my PR for the approach I took for this.

@github-actions
Copy link

github-actions bot commented Sep 5, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-field-08c5cf00f-967.eastus2.3.azurestaticapps.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants