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

React Native Share.share is stripping unicode characters when shared on Whatsapp (Android) #20660

Closed
sarbjit87 opened this issue Aug 13, 2018 · 2 comments
Labels
Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@sarbjit87
Copy link

I have a React Native application, which uses Share.share and allows end users to share the text message (mainly unicode characters) on different applications like Whatsapp etc. It seems that on Android & Whatsapp, there is a limit on number of characters (in my case, it was 1600 characters) and the rest of text is stripped. It seems to work fine, if the same text is shared directly via Whatsapp application. Snippet code has been posted on StackOverflow

On searching internet, I found that the users experienced this same problem with native Android code as well, see the stackoverflow question

It seems that React native share module is using ACTION_SEND android intent while it requires a different configuration to make this Whatsapp case to work.

Can this be handled in React Native library?

@react-native-bot react-native-bot added the Platform: Android Android applications. label Aug 13, 2018
@react-native-bot
Copy link
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. 📋No Template labels Aug 13, 2018
@suwu150
Copy link

suwu150 commented Nov 6, 2018

Can the Share component share files in android? I am prompted to "Get Resource Failed" when I use it. How do you do it? @sarbjit87

@facebook facebook locked as resolved and limited conversation to collaborators Aug 13, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Aug 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants