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 intent handling #20

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

cketti
Copy link
Contributor

@cketti cketti commented Apr 10, 2021

This rewrites the share intent handling code to properly encode text (and newlines) in the generated URL.

Before (image taken from issue #18):
grafik

After:
slim_social_share

Fixes #18

Use Uri.Builder to create a properly encoded URI.
Don't try to extract a URL from the middle of shared text.
@rignaneseleo
Copy link
Owner

Thanks for collaborating!

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.

Sharing a text does not recognize new lines (\n or \r )
2 participants