-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[Bug]: No save image item shown after upgrading to v4.0.6 #897
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
Comments
Duplicated from #870 ? |
@miquelbeltran It should not be the same problem. The share menu is shown, missing just the The output logs may be the same, IMO it doesn't directly relate to the issue. |
Can you check if the issue is caused by the change introduced in 4.0.6?
you can do that by forcing it to be 4.0.5 (without the If you can find the exact version that breaks this, it would be very helpful! |
Tried and confirmed, the |
Another issue: on iOS 12.5.5, tapping |
Thanks a lot for verifying that! I will have to revert the changes in 4.0.6 then.
If it is not a problem, place create another ticket for that issue, so it can be investigated accordingly |
Thanks for response, created a new issue: #899 |
I have kinda the same problem, but mine is on android. i have tested with multiple v4 versions from 4.0.3 to 4.0.7 and same problem. Even the result of executing shareFilesWithResult save that it is OK. but the image is not shown where i shared it to. I am taking a screen shot from a widget with a global key, saving the bytes as a png image, retrieve the image and share through the package, on version ^3.1.0 it worked perfectly. final result = await Share.shareFilesWithResult( Doctor summary (to see all details, run flutter doctor -v): |
@Tecmesh please create a new ticket with your issue |
Hi there, I was the author of version |
Btw. the 'mineTypes' option for images was changed in I would be very interested in the exact file you attempted to share @maxhis |
Sorry to spam here, but I jsut noticed #899, which talks about iOS 12 - |
@Coronon Here is the screenshot with And here is the same action with |
Reproducible, I think I found the fix within Will open a PR asap - thanks for raising this issue @maxhis :) |
As always, I provide a working example here. Please try my example (or override your dependencies like I did in my example) and report if this is fixed for you :) PS: Please try this with a 'real' device as the simulator seems to be 'broken' in |
@Coronon Tried in my project with your repo and branch, works both on the actual device and simulator. Thanks for your efforts. Just added the following lines in dependency_overrides:
share_plus:
git:
url: https://github.com/Coronon/plus_plugins
ref: ab99d3c46dcb4ee5c357839c8db2dde66cce18e6
path: packages/share_plus/share_plus |
@maxhis Awesome! Must have bricked my simulator somehow... We are ready for merge and just waiting for a review then. |
fix released in 4.0.8. As always, thanks a lot @Coronon !!! |
Platform
iOS
Plugin
share_plus
Version
4.0.6
Flutter SDK
3.0.1
Steps to reproduce
share_plus
to version 4.0.0Share.shareFiles([file_path], mimeTypes: ['image/png'])
Save image
item shown.Logs
The text was updated successfully, but these errors were encountered: