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
[Bug]: Share_Plus IOS not showing the text i try to share #2897
Comments
It has been talked over and over again in this project that some apps don't support accepting text + images correctly. As we mention in the README, this is not a package problem but a problem with those apps, and these types of issues will be closed.
|
@miquelbeltran I have spent time reading the README but there is no mention about the thing i face. |
the apps listed in the share sheet are decided by the OS, not the plugin |
I know but i mean why i don't see the actual text instead of "plain text and 1 document" |
I believe it is because when sharing an image and a text, for UIActivityViewController is like sharing two data items, and will display that (text and 1 document). You can try to provide only the subject, or only the text, to see if that makes a difference. If you can modify the iOS code, you can try to modify the implementation of the plugin when it comes to providing data to UIActivityViewController, e.g. implementing the metadata provider as shown here: https://stackoverflow.com/a/58234878 The plugin doesn't support providing the metadata at the moment. |
Platform
IOS 17
Plugin
share_plus
Version
9.0.0
Flutter SDK
3.19.3
Steps to reproduce
await Share.shareXFiles([XFile(tempPath)], subject: subject, text: body);
and u will see before u even choose the app (Plain text and 1 document)
Code Sample
Logs
### Logs na
Flutter Doctor
Checklist before submitting a bug
flutter pub upgrade
flutter clean
The text was updated successfully, but these errors were encountered: