KasemJaffer / receive_sharing_intent

A Flutter plugin that enables flutter apps to receive sharing photos, text and url from other apps.
Apache License 2.0
325 stars 375 forks source link

receive .txt-files on android #198

Open krabbenprgr opened 2 years ago

krabbenprgr commented 2 years ago

updated my old solution to receive .txt files to the actual status of the master branch. The solution is only one line of code, but it works. Please merge the pull request so that the further versions have this options, too.

mcorcuera commented 2 years ago

I tested this and it worked for me. Thanks!

ShoaibCodes commented 2 years ago

Can you please tell me an example of how to access shared .txt file to to copy the state to a File type variable

veronikalaskova commented 5 months ago

@KasemJaffer Hello Kasem, wondering why this PR hasn't been merged / addressed? Running into issues when trying to receive .txt and .csv files into our app. Will there be a fix for this issue in the near future? Sharing a .txt file on an iOS device quietly fails with no errors in console, on Android it shares a url to the file instead of the file itself.