Closed BLKKKBVSIK closed 1 year ago
have the same issue, after long time figured out that it was working in other apps like gmail. But doesn't work on whatsapp and slack
I'm encountering this problem as well. Slack and Linked-in.
This issue exists only in iOS.
in IOS, we are able to send either image or text in some of the apps like whatsapp or slack. Both of them then text is given more priority in these apps
I have the same issue only in iOS
in IOS, we are able to send either image or text in some of the apps like WhatsApp or slack. Both of them then text is given more priority in these apps
@pruthvi-itribe Is it an iOS technical limitation ? Or is it a WhatsApp/Slack restriction on iOS? 🧐 Seems like share_plus is working correctly then, but I'll maybe do a PR, to tell that on iOS the priority is given to the text priority.
in IOS, we are able to send either image or text in some of the apps like WhatsApp or slack. Both of them then text is given more priority in these apps
@pruthvi-itribe Is it an iOS technical limitation ? Or is it a WhatsApp/Slack restriction on iOS? 🧐 Seems like share_plus is working correctly then, but I'll maybe do a PR, to tell that on iOS the priority is given to the text priority.
But when only the image is sent without the text, we have the same behavior
I think its limitation of whatsapp and slack on IOS not allowing both simultaneously. Because if you use the same share_plus library and send to gmail app, both text and image are composed in an email.
I have seen some other apps also which has similar way of sharing image or text to whatsapp which are native applications on IOS
in IOS, we are able to send either image or text in some of the apps like WhatsApp or slack. Both of them then text is given more priority in these apps
@pruthvi-itribe Is it an iOS technical limitation ? Or is it a WhatsApp/Slack restriction on iOS? 🧐 Seems like share_plus is working correctly then, but I'll maybe do a PR, to tell that on iOS the priority is given to the text priority.
But when only the image is sent without the text, we have the same behavior
Do you mean it doesn't share image then ?
in IOS, we are able to send either image or text in some of the apps like WhatsApp or slack. Both of them then text is given more priority in these apps
@pruthvi-itribe Is it an iOS technical limitation ? Or is it a WhatsApp/Slack restriction on iOS? 🧐 Seems like share_plus is working correctly then, but I'll maybe do a PR, to tell that on iOS the priority is given to the text priority.
But when only the image is sent without the text, we have the same behavior
Do you mean it doesn't share image then ?
Sorry, I did the test again and without the text the image is normally shared 😅
Hi
I have the same issue only on iOS.
I will add some comments only to clarify the issue.
When sharing a text in the text parameter and an image on Whatsapp or Slack, only the text is shared, not the image. When sharing a text in the subject parameter and an image on Whatsapp or Slack, only the image is shared in whatsapp and not in Slack. When sharing only an image (no text in any parameter) on Whatsapp or Slack, the image is shared only in Whatsapp and not in Slack.
So, this makes it impossible to share a text + an image on the iOS platform on Whatsapp. And makes it also impossible to share an image on the iOS platform on Slack.
Bonus info: It is possible to share an image from the gallery app to Slack. So i think this makes it clear that slack is not the problem...
Some logs when trying to share to Slack
[NSExtension] Extension request contains input items but the extension point does not specify a set of allowed payload classes. The extension point's NSExtensionContext subclass must implement
+_allowedItemPayloadClasses. This must return the set of allowed NSExtensionItem payload classes. In future, this request will fail with an error. Extension: <EXConcreteExtension: 0x280910840> {id = com.tinyspeck.chatlyio.share} Items: ( "<NSExtensionItem: 0x283e129d0> - userInfo: {\n NSExtensionItemAttachmentsKey = (\n \"<NSItemProvider: 0x2817113b0> {types = (\\n \\\"public.image\\\"\\n)}\",\n \"<NSItemProvider: 0x281711340> {types = (\\n \\\"public.plain-text\\\"\\n)}\"\n );\n NSExtensionItemAttributedContentTextKey = {length = 144, bytes = 0x7b5c7274 66315c61 6e73695c 616e7369 ... 74626c3b 3b7d0a7d };\n \"com.apple.UIKit.NSExtensionItemUserInfoIsContentManagedKey\" = 0;\n}" )
Any idea?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days
Any updates on this? So is this a technical limitation of the apps we are sharing into (e.g. WhatsApp not being able to handle text and images at the same time) or a limitation inside the share_plus
plugin (e.g. a bug in the plugin)?
It would be great if this can be fixed. I have the same issue for my app.
I've implemented it in Swift instead.
https://github.com/boring-km/color-from-image/commit/577f9df2267389ae4370e2c70d316f4b520acd4d
@boring-km as i have seen your code you have implemented a native channel for IOS only but there also you are only sharing the image not text and image together please show how to share text and image together
@jagmohanJelly here you are. https://github.com/boring-km/color-from-image/commit/6e4aabdde633ea20b8db1c8f781d528e5d548539
Facing the similar issue, while just sending image
not even text.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days
why is this closed as not planned??
System info
Issue occurs on: iOS Plugin name: share_plus Plugin version: 2.1.4 Flutter doctor output:
Steps to Reproduce
The image will not be forward on WhatsApp or Slack on iOS if there is the
text
attribute.Logs