Skip to content

Fix share intent handling#20

Merged
rignaneseleo merged 1 commit intorignaneseleo:masterfrom
cketti:fix_ExternalLinkListener
Apr 13, 2021
Merged

Fix share intent handling#20
rignaneseleo merged 1 commit intorignaneseleo:masterfrom
cketti:fix_ExternalLinkListener

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