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(android): instagram direct share plain text #1383

Conversation

TimP4w
Copy link
Contributor

@TimP4w TimP4w commented Apr 13, 2023

Overview

Hi there,
We are using your library at our company, however we had problems sharing direct messages on instagram with android.
The current behaviour is that nothing happens if a url is not provided, and when provided it says that the file type is not supported.
This patch tries to fix that by passing text/* as type in the options.

Test Plan

In the example app simply try to send an instagram direct message.

Cheers

@MateusAndrade
Copy link
Collaborator

Nice, thanks @TimP4w !

@MateusAndrade MateusAndrade merged commit f2aed9a into react-native-share:main Apr 14, 2023
2 checks passed
MateusAndrade pushed a commit that referenced this pull request Apr 14, 2023
## [8.2.2](v8.2.1...v8.2.2) (2023-04-14)

### Bug Fixes

* **android:** instagram direct share plain text ([#1383](#1383)) ([f2aed9a](f2aed9a))
@MateusAndrade
Copy link
Collaborator

🎉 This PR is included in version 8.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@TimP4w TimP4w deleted the fix/instagram_direct_share_android branch April 14, 2023 17:16
@jeffreynerona
Copy link

When using Share.open instead of Share.share, instagram is not in the options

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

Successfully merging this pull request may close these issues.

None yet

3 participants