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

feat(android): share both text and url at the same time #3233

Merged

Conversation

nikosdouvlis
Copy link
Contributor

@nikosdouvlis nikosdouvlis commented Jul 9, 2020

Hello everyone,

This is a minor refactor that allows to share a file (a url that starts with file:) with text on android. I noticed that the ios version already supports this functionality.

I'm not sure if this is considered a "breaking change" but if it gets merged it will affect what is shared on the following scenario:

  1. android device
  2. share plugin called with both url and text

Before fix: It will only share the file
After fix: it will share the file and will also have text if the receiving app supports it.

Demo:
https://drive.google.com/file/d/141Q0G3hA2tf8n5k_rNMc7WkhJClrle6i/view?usp=sharing

All feedback is welcome :)

Have fun

@imhoffd imhoffd merged commit 4e8b59e into ionic-team:master Jul 9, 2020
@imhoffd
Copy link
Contributor

imhoffd commented Jul 9, 2020

Works great, thank you! 🎉

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