Skip to content

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

Closed
@sarbjit87

Description

@sarbjit87

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform: AndroidAndroid applications.Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions