React Native Share.share is stripping unicode characters when shared on Whatsapp (Android) #20660
Labels
Platform: Android
Android applications.
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
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?
The text was updated successfully, but these errors were encountered: