react-native-share-menu
react-native-share-menu copied to clipboard
Text File Sharing
Whenever I try and share a .txt file the share handle does not go through, leaving the sharedData null. This problem is consistent in the example as well I believe. Is there a safe way of sharing text files?
Would also like to know the answer here.
i am looking for this problem too. any solution? it shows
{
data: null,
mimeType: 'text/plain'
}
remove the clause to call self.storeText from line 85-86 in ShareViewController.swift
I think this is meant to capture clipboard text, but it breaks text files, so choose which you want to support (sorry I am not smart enough to work out how to support both right now.)
same for android: remove the clauses in ShareMenuModule.java which test for "text/plain" type